wvdhaute / PullToRefresh

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

Home Page:http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

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

http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html

License:MIT License


Languages

Language:Objective-C 100.0%