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/TZAssetCell.h | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZAssetCell.h b/screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZAssetCell.h new file mode 100644 index 0000000..65a2e83 --- /dev/null +++ b/screendisplay/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZAssetCell.h @@ -0,0 +1,57 @@ +// +// TZAssetCell.h +// TZImagePickerController +// +// Created by ������ on 15/12/24. +// Copyright �� 2015��� ������. All rights reserved. +// + +#import <UIKit/UIKit.h> +#import <Photos/Photos.h> + +typedef enum : NSUInteger { + TZAssetCellTypePhoto = 0, + TZAssetCellTypeLivePhoto, + TZAssetCellTypePhotoGif, + TZAssetCellTypeVideo, + TZAssetCellTypeAudio, +} TZAssetCellType; + +@class TZAssetModel; +@interface TZAssetCell : UICollectionViewCell +@property (weak, nonatomic) UIButton *selectPhotoButton; +@property (weak, nonatomic) UIButton *cannotSelectLayerButton; +@property (nonatomic, strong) TZAssetModel *model; +@property (assign, nonatomic) NSInteger index; +@property (nonatomic, copy) void (^didSelectPhotoBlock)(BOOL); +@property (nonatomic, assign) TZAssetCellType type; +@property (nonatomic, assign) BOOL allowPickingGif; +@property (nonatomic, assign) BOOL allowPickingMultipleVideo; +@property (nonatomic, copy) NSString *representedAssetIdentifier; +@property (nonatomic, assign) int32_t imageRequestID; + +@property (nonatomic, strong) UIImage *photoSelImage; +@property (nonatomic, strong) UIImage *photoDefImage; + +@property (nonatomic, assign) BOOL showSelectBtn; +@property (assign, nonatomic) BOOL allowPreview; +@property (assign, nonatomic) BOOL useCachedImage; + +@property (nonatomic, copy) void (^assetCellDidSetModelBlock)(TZAssetCell *cell, UIImageView *imageView, UIImageView *selectImageView, UILabel *indexLabel, UIView *bottomView, UILabel *timeLength, UIImageView *videoImgView); +@property (nonatomic, copy) void (^assetCellDidLayoutSubviewsBlock)(TZAssetCell *cell, UIImageView *imageView, UIImageView *selectImageView, UILabel *indexLabel, UIView *bottomView, UILabel *timeLength, UIImageView *videoImgView); +@end + + +@class TZAlbumModel; +@interface TZAlbumCell : UITableViewCell +@property (nonatomic, strong) TZAlbumModel *model; +@property (weak, nonatomic) UIButton *selectedCountButton; + +@property (nonatomic, copy) void (^albumCellDidSetModelBlock)(TZAlbumCell *cell, UIImageView *posterImageView, UILabel *titleLabel); +@property (nonatomic, copy) void (^albumCellDidLayoutSubviewsBlock)(TZAlbumCell *cell, UIImageView *posterImageView, UILabel *titleLabel); +@end + + +@interface TZAssetCameraCell : UICollectionViewCell +@property (nonatomic, strong) UIImageView *imageView; +@end -- Gitblit v1.8.0