// // CollectionImageCell.h // 乐销 // // Created by 隋林栋 on 2017/3/14. // Copyright © 2017年 ping. All rights reserved. // #import "CollectionImageCell.h" @class XG_AssetModel; @interface CollectionImageCell : UICollectionViewCell @property (nonatomic, strong) UIButton *btnDelete; @property (nonatomic, strong) UIImageView *ivImage; @property (nonatomic, strong) UILabel *labelTitleBottom;//label bottom default 4 character @property (nonatomic, assign) BOOL isShowTitleBottom;//whether show title bottom ,default false; @property (nonatomic, strong) NSString *imgName; @property (nonatomic, strong) void (^blockDelete)(CollectionImageCell *cell); //@property (nonatomic, strong) ModelImage *model;; #pragma mark 获取cell高度 + (CGSize)fetchHeight; + (CGSize)fetchHeightWithTitle;//bottom show title #pragma mark 刷新cell - (CGSize)resetCellWithModel:(ModelImage *)model; - (void)resetCellWithCamera; - (void)resetWithModel:(XG_AssetModel *)model; @property (nonatomic, strong) XG_AssetModel *model; @property (nonatomic, strong) void (^blockModel)(UIImage *photo); @end @interface CollectionCustomeImageSizeCell : CollectionImageCell @end @interface CollectionCustomeImageReplyCell : CollectionImageCell @end