Skip to content

jdmullin/PullToRefresh

 
 

Repository files navigation

PullToRefresh

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

Inspired by Tweetie 2, Oliver Drobnik's blog post and EGOTableViewPullRefresh.

How to intall

  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!

Things to be added still:

  • Add functionality to check that loadMore is below the fold
  • Configuration options so that you can load each independently
  • Function for callback when a tableView had rotated to update positioning/width
  • Theme support for the bottom
  • Correct alignment for horizontal views (centering of the text, primarily)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%