Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.6 KB

File metadata and controls

31 lines (19 loc) · 1.6 KB

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

  1. Copy the files, PullRefreshTableViewController.h, PullRefreshTableViewController.m, PullRefreshTableView.h, PullRefreshTableView.m and arrow.png into your project.

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

  3. Use all the files exactly as you would their UIKit parents

  4. Implement the -[id<PullRefreshTableViewDataSource> refreshPullRefreshTableView:(PullRefreshTableView*)tableview] protocol method

Enjoy!

Modified by Andy McSherry