12345678910111213141516171819202122232425262728 |
- //
- // JXHPhotoPullManager.h
- // 我的社保
- //
- // Created by jiaxian_he on 2020/9/15.
- //
- #import <Foundation/Foundation.h>
- @class JXHPhotoManager, JXHPhotoAlbum;
- NS_ASSUME_NONNULL_BEGIN
- typedef NSMutableDictionary<NSNumber *, NSArray<JXHPhotoManager *> *> JXHResultDictionary;
- @interface JXHPhotoPullManager : NSObject
- - (instancetype)initWithRowOfScreen:(NSUInteger)rowOfScreen countOfRow:(NSUInteger)countOfRow;
- - (void)setAlbum:(JXHPhotoAlbum *)photoAlbum completion:(void(^)(NSInteger section, NSInteger countOfSection, NSInteger countOfLastSection))completion;
- - (void)cleanCache;
- - (void)judgeShouldPullDataWithForward:(bool)forward currentIndex:(NSInteger)currentSectionItem currentSection:(NSInteger)currentSection completion:(void(^)(JXHResultDictionary *result, bool isDelete))completion;
- - (void)pullDataWithSection:(NSInteger)section completion:(void(^)(JXHResultDictionary *result))completion;
- @end
- NS_ASSUME_NONNULL_END
|