MOGiftCollectionView.h 1016 B

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