PullRefresh and LoadMore with SpinKit SVPullToRefresh
Easy to Integrate SpinRefresh in your project
Spinkit:
// setup pull-to-refresh
[self.tableView addPullToRefreshWithActionHandler:^{
[weakSelf insertRowAtTop];
} spin:RTSpinKitViewStyleBounce];
// setup infinite scrolling
[self.tableView addInfiniteScrollingWithActionHandler:^{
[weakSelf insertRowAtBottom];
} spin:RTSpinKitViewStyleBounce];
Other:
// setup pull-to-refresh
[self.tableView addPullToRefreshWithActionHandler:^{
[weakSelf insertRowAtTop];
}];
// setup infinite scrolling
[self.tableView addInfiniteScrollingWithActionHandler:^{
[weakSelf insertRowAtBottom];
} bubbleRefresh:YES];