PullToRefresh
A simple iPhone TableView and Protocols for adding pull-to-refresh functionality.
Inspired by Tweetie 2, Oliver Drobnik's blog post and EGOTableViewPullRefresh.
How to intall
-
Copy the files, PullRefreshTableViewController.h, PullRefreshTableViewController.m, PullRefreshTableView.h, PullRefreshTableView.m and arrow.png into your project.
-
Link against the QuartzCore framework (used for rotating the arrow image).
-
Use all the files exactly as you would their UIKit parents
-
Implement the -[id<PullRefreshTableViewDataSource> refreshPullRefreshTableView:(PullRefreshTableView*)tableview] protocol method
Enjoy!
Modified by Andy McSherry