AJPhotoGroupView.h 924 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // AJPhotoGroupView.h
  3. // AJPhotoPicker
  4. //
  5. // Created by AlienJunX on 15/11/2.
  6. // Copyright (c) 2015 AlienJunX
  7. //
  8. // This source code is licensed under the MIT-style license found in the
  9. // LICENSE file in the root directory of this source tree.
  10. //
  11. #import <UIKit/UIKit.h>
  12. #import <Photos/Photos.h>
  13. #import "TZImageManager.h"
  14. @class ALAssetsGroup;
  15. @class ALAssetsFilter;
  16. @protocol AJPhotoGroupViewProtocol <NSObject>
  17. /**
  18. * 选中相册
  19. *
  20. * @param model 相册
  21. */
  22. - (void)didSelectGroup:(TZAlbumModel *)model;
  23. @end
  24. @interface AJPhotoGroupView : UITableView
  25. //委托
  26. @property (weak, nonatomic) id<AJPhotoGroupViewProtocol> my_delegate;
  27. @property (nonatomic,assign) BOOL isPhotoType;//是否为选择图片类型
  28. //选中相册的索引
  29. @property (nonatomic) NSInteger selectIndex;
  30. @property (nonatomic, strong) NSMutableArray *albumGroups;
  31. /**
  32. * 加载并显示相册
  33. */
  34. - (void)setupGroup;
  35. @end