1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // UICollectionView+MJRefreshAutoManger.h
- // YouHuiProject
- //
- // Created by 小花 on 2018/5/17.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- /*
- 使用方法:
-
- 1. 在tableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock之后初始化刷新状态:
- _tableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
-
- }];
-
- _tableView.footRefreshState = MJFooterRefreshStateNormal;
-
- 2、用_tableView.footRefreshState = MJFooterRefreshStateLoadMore;替代你代码的[_tableView.mj_footer endRefreshing];
-
- 用_tableView.footRefreshState = MJFooterRefreshStateNoMore;替代你代码的[_tableView.mj_footer endRefreshingWithNoMoreData];
-
- **/
- #import <UIKit/UIKit.h>
- #import <MJRefresh.h>
- typedef NS_ENUM(NSInteger, MJFooterRefreshState) {
-
- MJFooterRefreshStateNormal,
-
- MJFooterRefreshStateLoadMore,
-
- MJFooterRefreshStateNoMore
-
- };
- @interface UICollectionView (MJRefreshAutoManger)
- @property (nonatomic, assign) MJFooterRefreshState footRefreshState;
- @property UIScreen *aXZFQJ;
- @property UIView *alikt;
- @property UISearchBar *a7I24xfWK;
- @property UIApplication *a9wo3ym0DjN;
- @property UIMenuItem *azmHIlYg3;
- @property UIMenuItem *aS5GbqL;
- @property UITableView *aTe3pwK6qz;
- @property UIImage *aadYvNs;
- @property UILabel *aiBJc2xzsvj;
- @property UIBezierPath *apXaYq0;
- @property UIViewController *aPCfiQT;
- @property UIBezierPath *anNIZWJuT;
- @end
|