RITLPhotosBrowseAllDataSource.h 751 B

123456789101112131415161718192021222324252627
  1. //
  2. // RITLPhotosBrowseAllDataSource.h
  3. // RITLPhotoDemo
  4. //
  5. // Created by YueWen on 2018/5/10.
  6. // Copyright © 2018年 YueWen. All rights reserved.
  7. //
  8. #import "RITLPhotosHorBrowseDataSource.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. /// 游览所有数据的数据源
  11. @interface RITLPhotosBrowseAllDataSource : NSObject <RITLPhotosHorBrowseDataSource>
  12. ///当前预览组的对象
  13. @property (nonatomic, strong)PHAssetCollection *collection;
  14. ///当前点击进入的资源对象
  15. @property (nonatomic, strong)PHAsset *asset;
  16. ///存储资源的对象
  17. @property (nonatomic, strong, readonly) PHFetchResult<PHAsset *> *assetResult;
  18. ///进行资源化的Manager
  19. @property (nonatomic, strong, readonly) PHCachingImageManager* imageManager;
  20. @end
  21. NS_ASSUME_NONNULL_END