MyStyleVideoCell.h 628 B

12345678910111213141516171819202122232425262728
  1. //
  2. // MyStyleVideoCell.h
  3. // KulexiuForTeacher
  4. //
  5. // Created by 王智 on 2022/4/11.
  6. //
  7. #import <UIKit/UIKit.h>
  8. typedef NS_ENUM(NSInteger, STYLEVIDEO) {
  9. STYLEVIDEO_CHOOSEFILE, // 选择文件
  10. STYLEVIDEO_CHOOSEIMAGE, // 选择封面
  11. STYLEVIDEO_PLAY, // 播放
  12. STYLEVIDEO_DELETE, // 删除
  13. };
  14. typedef void(^StyleVideoCellAction)(STYLEVIDEO type, UIView * _Nullable containerView);
  15. NS_ASSUME_NONNULL_BEGIN
  16. @interface MyStyleVideoCell : UITableViewCell
  17. - (void)configWithSource:(NSMutableArray *)videoArray;
  18. - (void)opreationCallback:(StyleVideoCellAction)callback;
  19. @end
  20. NS_ASSUME_NONNULL_END