This commit is contained in:
启星
2025-08-08 10:49:36 +08:00
parent 6400cf78bb
commit b5ce3d580a
8780 changed files with 978183 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
// Created by Tencent on 2023/06/09.
// Copyright © 2023 Tencent. All rights reserved.
#import <TIMCommon/TIMCommonModel.h>
#import <TIMCommon/TIMDefine.h>
#import <UIKit/UIKit.h>
#import "TUIContactSelectViewDataProvider.h"
NS_ASSUME_NONNULL_BEGIN
typedef void (^ContactSelectFinishBlock)(NSArray<TUICommonContactSelectCellData *> *_Nonnull selectArray);
@interface TUIContactSelectController : UIViewController
@property(nonatomic, strong, nullable) TUIContactSelectViewDataProvider *viewModel;
/**
* Callback for contact selection end
*/
@property(nonatomic, copy, nullable) ContactSelectFinishBlock finishBlock;
/**
* Maximum number of selected contactsdefalut value is 0 which means no limit
*/
@property(nonatomic, assign) NSInteger maxSelectCount;
/**
* List of pre-selected users
*/
@property(nonatomic, strong, nullable) NSArray *sourceIds;
/**
* List of pre-banned users
*/
@property(nonatomic, strong, nullable) NSArray *disableIds;
/**
* Display name for sourceIds or disableIds
*/
@property(nonatomic, strong, nullable) NSDictionary *displayNames;
/**
* Navigation title for view controller
*/
@property(nonatomic, copy, nullable) NSString *title;
@end
NS_ASSUME_NONNULL_END