All Projects → leah → Pulltorefresh

leah / Pulltorefresh

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

Programming Languages

objective c
16641 projects - #2 most used programming language

Attention: As of iOS 6.0, there is a UIRefreshControl object that makes adding pull-to-refresh functionality super easy. If you only need to support iOS 6.0 and later, I'd recommend using UIRefreshControl instead.

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. Copy the files, PullRefreshTableViewController.h, PullRefreshTableViewController.m, and arrow.png into your project.

  2. Link against the QuartzCore framework (used for rotating the arrow image).

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

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

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].