edocx / MJRefreshEX

MJRefresh二次封装 方便使用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);
 }];

About

MJRefresh二次封装 方便使用


Languages

Language:Objective-C 99.2%Language:Ruby 0.8%