/MJRefreshEX

MJRefresh二次封装 方便使用

Primary LanguageObjective-C

MJRefreshEX

MJRefresh二次封装 方便使用

两句代码就可调用,减少重复代码

[self.tableView addHeaderWithHeaderWithBeginRefresh:YES animation:YES refreshBlock:^(NSInteger pageIndex) {
        NSLog(@"pageIndex:%zd",pageIndex);
    }];
    
[self.tableView addFooterWithWithHeaderWithAutomaticallyRefresh:NO loadMoreBlock:^(NSInteger pageIndex) {
        NSLog(@"pageIndex:%zd",pageIndex);
 }];