// Created by Tencent on 2023/06/09. // Copyright © 2023 Tencent. All rights reserved. #import #import #import #import "TUIContactSelectViewDataProvider_Minimalist.h" NS_ASSUME_NONNULL_BEGIN typedef void (^ContactSelectFinishBlock_Minimalist)(NSArray *_Nonnull selectArray); @interface TUIContactSelectController_Minimalist : UIViewController @property(nonatomic, strong, readonly) NSMutableArray *selectArray; @property(nonatomic, strong, nullable) TUIContactSelectViewDataProvider_Minimalist *viewModel; /** * Callback for contact selection end */ @property(nonatomic, copy, nullable) ContactSelectFinishBlock_Minimalist finishBlock; /** * Maximum number of selected contacts, defalut 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; - (void)finishTask; @end NS_ASSUME_NONNULL_END