Use UIRefreshControl
on UICollectionViewController.
- Support to pull to refresh
- Support to load request after scrolling bottom
- Create UITableViewController about
loadRequestControl
- Support Cocoapods
- Support to request without UIRefreshControl()
- refreshControl
refreshControl start animation and callback method:
func willRefresh()
If data that controller has refresh, controller call method:
refreshControl.endRefreshing()
- loadRequestControl
scrolling to bottom and callback method:
func willLoadRequest()
After load request, controller call method:
loadRequestControl.endRefreshing()