JXHPhotoPullManager.h 946 B

12345678910111213141516171819202122232425262728
  1. //
  2. // JXHPhotoPullManager.h
  3. // 我的社保
  4. //
  5. // Created by jiaxian_he on 2020/9/15.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @class JXHPhotoManager, JXHPhotoAlbum;
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef NSMutableDictionary<NSNumber *, NSArray<JXHPhotoManager *> *> JXHResultDictionary;
  11. @interface JXHPhotoPullManager : NSObject
  12. - (instancetype)initWithRowOfScreen:(NSUInteger)rowOfScreen countOfRow:(NSUInteger)countOfRow;
  13. - (void)setAlbum:(JXHPhotoAlbum *)photoAlbum completion:(void(^)(NSInteger section, NSInteger countOfSection, NSInteger countOfLastSection))completion;
  14. - (void)cleanCache;
  15. - (void)judgeShouldPullDataWithForward:(bool)forward currentIndex:(NSInteger)currentSectionItem currentSection:(NSInteger)currentSection completion:(void(^)(JXHResultDictionary *result, bool isDelete))completion;
  16. - (void)pullDataWithSection:(NSInteger)section completion:(void(^)(JXHResultDictionary *result))completion;
  17. @end
  18. NS_ASSUME_NONNULL_END