TGLPullToRefresh is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TGLPullToRefresh"In viewDidLoad, awakeFromNib:
[self.tableView tgl_setupPullToRefreshWithView:self.pullToRefreshActivityView handler:^{
// Load data
// …
}];TGLPullToRefresh should work on any UIScrollView.
Bruno Virlet, [email protected]
TGLPullToRefresh is available under the MIT license. See the LICENSE file for more info.