// // TZPhotoPreviewCell.h // TZImagePickerController // // Created by 谭真 on 15/12/24. // Copyright © 2015年 谭真. All rights reserved. // #import @class TZAssetModel,TZProgressView,TZPhotoPreviewView; @interface TZPhotoPreviewCell : UICollectionViewCell @property (nonatomic, strong) TZAssetModel *model; @property (nonatomic, copy) void (^singleTapGestureBlock)(); @property (nonatomic, copy) void (^imageProgressUpdateBlock)(double progress); @property (nonatomic, strong) TZPhotoPreviewView *previewView; @property (nonatomic, assign) BOOL allowCrop; @property (nonatomic, assign) CGRect cropRect; - (void)recoverSubviews; @end @interface TZPhotoPreviewView : UIView @property (nonatomic, strong) UIImageView *imageView; @property (nonatomic, strong) UIScrollView *scrollView; @property (nonatomic, strong) UIView *imageContainerView; @property (nonatomic, strong) TZProgressView *progressView; @property (nonatomic, assign) BOOL allowCrop; @property (nonatomic, assign) CGRect cropRect; @property (nonatomic, strong) TZAssetModel *model; @property (nonatomic, strong) id asset; @property (nonatomic, copy) void (^singleTapGestureBlock)(); @property (nonatomic, copy) void (^imageProgressUpdateBlock)(double progress); - (void)recoverSubviews; @end