GWLPhotoLibrayController.h 1014 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // GWLPhotoLibrayController.h
  3. // GWLPhotoSelector
  4. //
  5. // Created by GaoWanli on 15/7/23.
  6. // Copyright (c) 2015年 GWL. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "GWLPhotoSelectorHeader.h"
  10. #import <AssetsLibrary/AssetsLibrary.h>
  11. #import <Photos/Photos.h>
  12. @interface GWLPhotoLibrayController : UINavigationController
  13. /**最多能选择的照片数量*/
  14. @property(nonatomic, assign) NSInteger maxCount;
  15. /**是否可以跨相册选择*/
  16. @property (nonatomic, assign) BOOL multiAlbumSelect;
  17. + (instancetype)photoLibrayControllerWithBlock:(kGWLPhotoSelector_ArrayBlock) block;
  18. @end
  19. @interface GWLPhotoGroup : NSObject
  20. @property(nonatomic, copy) NSString *groupName;
  21. @property(nonatomic, strong) UIImage *groupIcon;
  22. @property(nonatomic, strong) NSMutableArray *photoALAssets;
  23. @end
  24. @interface GWLPhotoALAssets : NSObject
  25. @property(nonatomic ,strong) ALAsset *photoALAsset;
  26. @property(nonatomic ,strong) PHAsset *photoAsset;
  27. @property(nonatomic, assign, getter=isSelected) BOOL selected;
  28. @end