From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.h | 67 +++++++++++++++++++++++++++++++++ 1 files changed, 67 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.h b/screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.h new file mode 100644 index 0000000..d32ac24 --- /dev/null +++ b/screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.h @@ -0,0 +1,67 @@ +// +// TZPhotoPreviewCell.h +// TZImagePickerController +// +// Created by ������ on 15/12/24. +// Copyright �� 2015��� ������. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@class TZAssetModel; +@interface TZAssetPreviewCell : UICollectionViewCell +@property (nonatomic, strong) TZAssetModel *model; +@property (nonatomic, copy) void (^singleTapGestureBlock)(void); +- (void)configSubviews; +- (void)photoPreviewCollectionViewDidScroll; +@end + + +@class TZAssetModel,TZProgressView,TZPhotoPreviewView; +@interface TZPhotoPreviewCell : TZAssetPreviewCell + +@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)(void); +@property (nonatomic, copy) void (^imageProgressUpdateBlock)(double progress); + +@property (nonatomic, assign) int32_t imageRequestID; + +- (void)recoverSubviews; +@end + + +@class AVPlayer, AVPlayerLayer; +@interface TZVideoPreviewCell : TZAssetPreviewCell +@property (strong, nonatomic) AVPlayer *player; +@property (strong, nonatomic) AVPlayerLayer *playerLayer; +@property (strong, nonatomic) UIButton *playButton; +@property (strong, nonatomic) UIImage *cover; +- (void)pausePlayerAndShowNaviBar; +@end + + +@interface TZGifPreviewCell : TZAssetPreviewCell +@property (strong, nonatomic) TZPhotoPreviewView *previewView; +@end -- Gitblit v1.8.0