|
|
il y a 11 ans | |
|---|---|---|
| MJRefreshExample | il y a 11 ans | |
| MJRefreshScreenshots | il y a 11 ans | |
| .gitignore | il y a 11 ans | |
| LICENSE | il y a 11 ans | |
| MJRefresh.podspec | il y a 11 ans | |
| README.md | il y a 11 ans |
The easiest way to use pull-to-refresh
[self.tableView addHeaderWithTarget:self action:@selector(headerRereshing)];
或者
[self.tableView addHeaderWithCallback:^{ }];
[self.tableView addFooterWithTarget:self action:@selector(footerRereshing)];
或者
[self.tableView addFooterWithCallback:^{ }];
[self.tableView headerBeginRefreshing];
[self.tableView footerBeginRefreshing];
[self.tableView headerEndRefreshing];
[self.tableView footerEndRefreshing];