Skip to content

Modification of Leah's PullToRefresh to allow for implementing delegate/dataSource protocols rather than subclassing

License

Notifications You must be signed in to change notification settings

andyland/PullToRefresh

 
 

Repository files navigation

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

About

Modification of Leah's PullToRefresh to allow for implementing delegate/dataSource protocols rather than subclassing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%