// // MOGiftCollectionView.h // MiMoLive // // Created by SuperC on 2023/11/23. // #import #import "MOGiftItemCell.h" NS_ASSUME_NONNULL_BEGIN @class MOGiftListViewModel; @interface MOGiftCollectionView : UIView /** 界面类型 (礼物类型,(1=hot(热门) ,2=SL(幸运),3=fans(粉丝团),4=vip(贵族),5=等级(lv),6=funny(有趣),7=luxury(奢华))*/ @property (nonatomic, assign) NSInteger type; @property (nonatomic, strong) MOEffect *selectSkin;//当前选中的皮肤 @property (nonatomic, strong) NSIndexPath *selectIndexPath;//选中的Cell @property (nonatomic, copy) void(^selectCellBlock)(MOGiftlist *selectGiftMode, NSInteger giftType);//选中Cell的回调 @property (nonatomic, copy) void(^theFirstGiftBlock)(void);//第一个礼物锁定态 - (instancetype)initWith:(MOGiftListViewModel *)listViewModel; - (void)toUpdataTheSelectIndexPathCell;//更新相应Cell的显示 @end NS_ASSUME_NONNULL_END