DGElasticPullToRefresh
DGElasticPullToRefresh copied to clipboard
request server
hi I'm on a server with a lot of data is an array. I want whenever I applied for twenty data show in table view can i use plugin ??
Hey, this library isn't what you're looking for, but if you're using a UITableView or UICollectionView you can call your code in the cellForItemAtIndexPath (or row, if you're using UITableView) method by checking if the indexPath is the last item of your datasource (or the n-th last item, depending on when you want to load more items). Just make sure you're doing asynchronous requests, so you're not blocking the creation of the cell.
thank @niklaskorz :)