HXPhotoEditChartletListView.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. //
  2. // HXPhotoEditChartletListView.h
  3. // photoEditDemo
  4. //
  5. // Created by Silence on 2020/6/23.
  6. // Copyright © 2020 Silence. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class HXPhotoEditChartletModel, HXPhotoEditChartletTitleModel, HXPhotoEditConfiguration;
  11. @interface HXPhotoEditChartletListView : UIView
  12. + (void)showEmojiViewWithConfiguration:(HXPhotoEditConfiguration *)configuration
  13. completion:(void (^ _Nullable)(UIImage *image))completion;
  14. + (void)showEmojiViewWithModels:(NSArray<HXPhotoEditChartletTitleModel *> *)models
  15. completion:(void (^ _Nullable)(UIImage *image))completion;
  16. @end
  17. @interface HXPhotoEditChartletListViewCell : UICollectionViewCell
  18. @property (strong, nonatomic) UIImageView *imageView;
  19. @property (strong, nonatomic) HXPhotoEditChartletTitleModel *titleModel;
  20. @property (strong, nonatomic) HXPhotoEditChartletModel *model;
  21. @property (assign, nonatomic) BOOL showMask;
  22. - (void)setShowMask:(BOOL)showMask isAnimate:(BOOL)isAnimate;
  23. @end
  24. NS_ASSUME_NONNULL_END