12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // HXAlbumlistView.h
- // HXPhotoPickerExample
- //
- // Created by Silence on 2018/9/26.
- // Copyright © 2018年 Silence. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class HXAlbumModel, HXPhotoManager, HXPhotoConfiguration;
- @interface HXAlbumlistView : UIView
- @property (strong, nonatomic) UITableView *tableView;
- @property (strong, nonatomic) HXPhotoManager *manager;
- @property (strong, nonatomic) NSMutableArray *albumModelArray;
- @property (strong, nonatomic) HXAlbumModel *currentSelectModel;
- @property (copy, nonatomic) void (^didSelectRowBlock)(HXAlbumModel *model);
- - (instancetype)initWithManager:(HXPhotoManager *)manager;
- - (void)refreshCamearCount;
- - (void)reloadAlbumAssetCountWithAlbumModel:(HXAlbumModel *)model;
- - (void)selectCellScrollToCenter;
- @end
- @interface HXAlbumlistViewCell : UITableViewCell
- @property (strong, nonatomic) HXAlbumModel *model;
- @property (strong, nonatomic) HXPhotoConfiguration *configuration;
- - (void)setAlbumImageWithCompletion:(void (^)(NSInteger count, HXAlbumlistViewCell *myCell))completion;
- - (void)cancelRequest ;
- @end
- @interface HXAlbumTitleView : UIView
- @property (weak, nonatomic) HXPhotoManager *manager;
- @property (strong, nonatomic) HXAlbumModel *model;
- @property (assign, nonatomic, readonly) BOOL selected;
- @property (assign, nonatomic) BOOL canSelect;
- @property (copy, nonatomic) void (^didTitleViewBlock)(BOOL selected);
- - (instancetype)initWithManager:(HXPhotoManager *)manager;
- - (void)deSelect;
- @end
- @interface HXAlbumTitleButton : UIButton
- @property (copy, nonatomic) void (^ highlightedBlock)(BOOL highlighted);
- @end
|