PullToRefresh
A simple iPhone TableViewController for adding pull-to-refresh functionality.
Inspired by Tweetie 2, Oliver Drobnik's blog post and EGOTableViewPullRefresh.
How to install
-
Download the PullToRefresh source code from https://github.com/leah/PullToRefresh
-
Select as active scheme "PullToRefresh Framework" for iPhone/iPad simulator and build it
-
Go to the PullToRefresh source code folder, a "build" folder was generated with the "PullToRefresh.framework" in
-
In your project, go to your target and in "Build Phases" tab and add the "PullToRefresh.framework" in the "Copy Bundle Resources" and in the "Link Binary With Libraries" sections using the "+" button
-
Create a TableViewController that is a subclass of PullRefreshTableViewController.
-
Customize by adding your own refresh() method.
Enjoy!