// // TFComicDownloadManagerCell.h // TFReader // // Created by 谢腾飞 on 2020/12/16. // Copyright © 2020 xtfei_2011@126.com. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN typedef void(^CellSelectBlock)(TFProductionModel *comicModel, NSString *comic_name); typedef void(^ImageViewSelectBlock)(NSInteger comic_id); typedef void(^ButtonSelectBlock)(TFProductionModel *comicModel); @interface TFComicDownloadManagerCell : TFBasicTableViewCell @property (nonatomic, strong) TFProductionModel *comicModel; @property (nonatomic, copy) CellSelectBlock cellSelectBlock; @property (nonatomic, copy) ImageViewSelectBlock imageViewSelectBlock; @property (nonatomic, copy) ButtonSelectBlock buttonSelectBlock; @property (nonatomic, assign, readonly) BOOL isEditting; @property (nonatomic, assign, readonly) BOOL isSelected; /// 选择编辑单元 @property (nonatomic, copy) void(^selecteEdittingCellBlock)(TFProductionModel *productionModel, BOOL isSelected); - (void)setEditing:(BOOL)editing; // 强行设置编辑状态 - (void)set_Editting:(BOOL)editting; // 切换选中状态 - (void)switchSelectedState:(BOOL)state; @end NS_ASSUME_NONNULL_END