MHStickerCell.h 780 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // MHStickerCell.h
  3. #import <UIKit/UIKit.h>
  4. @class StickerDataListModel;
  5. NS_ASSUME_NONNULL_BEGIN
  6. @interface MHStickerIndicatorView : UIView
  7. - (id)initWithTintColor:(UIColor *)tintColor size:(CGFloat)size;
  8. @property(nonatomic, strong) UIColor *tintColor;
  9. @property(nonatomic) CGFloat size;
  10. @property(nonatomic, readonly) BOOL animating;
  11. - (void)startAnimating;
  12. - (void)stopAnimating;
  13. @end
  14. @interface MHStickerCell : UICollectionViewCell
  15. @property (nonatomic, strong) UIImageView *selectedImgView;
  16. @property (nonatomic, strong) UIImageView *downloadImg;
  17. @property (nonatomic, strong) StickerDataListModel *listModel;
  18. - (void)setSticker:(StickerDataListModel *)sticker index:(NSInteger)index;
  19. - (void)startDownload;
  20. - (void)stopDownLoad;
  21. @end
  22. NS_ASSUME_NONNULL_END