/PullToRefresh

A simple iPhone TableViewController for adding pull-to-refresh functionality.

Primary LanguageObjective-CMIT LicenseMIT

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

  1. Download the PullToRefresh source code from https://github.com/leah/PullToRefresh

  2. Select as active scheme "PullToRefresh Framework" for iPhone/iPad simulator and build it

  3. Go to the PullToRefresh source code folder, a "build" folder was generated with the "PullToRefresh.framework" in

  4. 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

  5. Create a TableViewController that is a subclass of PullRefreshTableViewController.

  6. Customize by adding your own refresh() method.

Enjoy!