29 lines
805 B
Objective-C
29 lines
805 B
Objective-C
//
|
|
// XPGiftUsersView.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2021/11/9.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "XPSendGiftView.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class XPGiftUserInfoModel, XPGiftUsersView;
|
|
@protocol XPGiftUsersViewDelegate <NSObject>
|
|
///选中的用户
|
|
- (void)xPGiftUsersView:(XPGiftUsersView *)view didSelectUsers:(NSArray *)selectUids;
|
|
|
|
@end
|
|
@interface XPGiftUsersView : UIView
|
|
///选中的人 送给谁礼物
|
|
@property (nonatomic,strong, readonly) NSMutableArray<NSString *> *selectUserArray;
|
|
///是不是选择了全部麦上的人
|
|
@property (nonatomic,assign, readonly) BOOL isSelectAll;
|
|
///麦序变化 赋值使用
|
|
- (void)configGiftUsers:(NSArray<XPGiftUserInfoModel *> *)users;
|
|
///代理
|
|
@property (nonatomic,weak) id<XPGiftUsersViewDelegate> delegate;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|