Pull and Release Refresh for Table Views

Two days ago, I talked about how to emulate Tweetie’s swipable table view cells, and another nice feature of Tweetie is pulling down past the first row in a table view to initiate a refresh of the data source. Two different options to emulate this behavior are out there.

The first one is EGOTableViewPullRefresh, a standalone implementation created for UITableViewControllers by enormego. Jessie Collis then forked it to simplify the implementation. He created a new UITableViewController subclass, leaving only two methods for developers to support, one for the action that the pull down initiates and one when that action is done.

If you’re already using the three20 framework, it includes a TTTableViewDragRefreshDelegate as part of its TTTableViewController. See the TTTwitter sample app for how it’s implemented.

Update: Leah Culver has an even simpler solution called PullToRefresh.

Share this post:
  • Twitter
  • HackerNews
  • Facebook
  • Digg
  • StumbleUpon
  • del.icio.us
  • Google Buzz
This entry was posted in Code and tagged interface, intermediate, pull to refresh. Bookmark the permalink.

One Response to Pull and Release Refresh for Table Views

  1. Hi,

    Here is a step by step tutorial how to implement pull down to refresh..
    http://www.altinkonline.nl/tutorials/xcode/uitableview/pull-down-to-refresh/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>