// // Collection_Image.h // 乐销 // // Created by 隋林栋 on 2017/1/9. // Copyright © 2017年 ping. All rights reserved. // #import //上传图片 #import "UIView+SelectImageView.h" #import "XG_AssetPickerController.h" @interface Collection_Image : UIView #pragma mark property datas @property (nonatomic, strong) NSMutableArray *aryDatas; @property (nonatomic, strong) UICollectionView *collectionView; @property (nonatomic, strong) void(^blockUpComplete)(NSMutableArray *); @property (nonatomic, strong) NSMutableArray *assets; @property (nonatomic, strong) void(^blockDelComplete)(NSMutableArray *); @property (nonatomic, strong) NSMutableArray *aryPhoto; //@property (nonatomic, assign) ENUM_UPIMAGE_TYPE upImageType; #pragma mark property can change the view /** if is edit the first is camera,default true */ @property (nonatomic, assign) BOOL isEditing; /** show title bottom of collection cell,default false */ @property (nonatomic, assign) BOOL isShowTitleBottom; /** the collection slide orientation,default is horizon */ @property (nonatomic, assign) UICollectionViewScrollDirection scrollDirection; /** default CollectionImageCell, if change cell will exchange */ @property (nonatomic, strong) NSString *collectionCellName; @property (nonatomic, strong) NSString *imgName; #pragma mark init - (instancetype)initWithConfig:(BOOL)config; #pragma mari init - (void)configView; #pragma mark 刷新cell - (void)resetWithAry:(NSMutableArray *)aryDatas; #pragma mark 显示选中的图片 - (void)showSelectImage; -(void)resetView; @end