MHSectionStickersView.h 819 B

12345678910111213141516171819202122232425
  1. //MHSectionStickersView.h
  2. //单个分类的贴纸
  3. #import <UIKit/UIKit.h>
  4. @class StickerDataListModel;
  5. NS_ASSUME_NONNULL_BEGIN
  6. @protocol MHSectionStickersViewDelegate <NSObject>
  7. - (void)handleSelectedStickerEffect:(NSString *)stickerContent stickerModel:(StickerDataListModel *)model;
  8. - (void)reloadLastStickerSelectedStatus:(BOOL)needReset;
  9. @end
  10. @interface MHSectionStickersView : UIView
  11. @property (nonatomic, strong) NSMutableArray *stickersArray;
  12. @property (nonatomic, assign) NSInteger stickerTag;
  13. @property (nonatomic, weak) id<MHSectionStickersViewDelegate> delegate;
  14. @property (nonatomic, assign) NSInteger lastTag;
  15. @property (nonatomic, assign) NSInteger lastIndex;
  16. @property (nonatomic, strong) UICollectionView *collectionView;
  17. - (void)configureData:(NSArray *)stickersArray;
  18. @end
  19. NS_ASSUME_NONNULL_END