iOS Open Source : PullToRefresh

There are any number of apps that build on the idea of pulling down a view (typically a tableview) in order to refresh application content.
PullToRefresh is an open source project created by Leah Culver that offers easy to integrate code for requesting table data refreshes.

Leah’s project consists of just three files: an interface and corresponding implementation file and a png image. Add these files to a project, subclass, create your own custom refresh code, and you are good to go.

PullToRefresh includes an Xcode project that demonstrates how to get things running – a screenshot of the sample application follows:

Suggestions For Open Source Projects?

If you have written, worked with or otherwise know of an interesting open source project, one that is focused on iOS development, feel free to send me a note. Even a simple class/category that offers something useful is welcome. Contact me with ideas and suggestions.


Enormego also has a pull to refresh control ( it’s the same one that is used in the Facebook app and Three20.

by Colin Humber on Feb 25, 2011. #

Its one these things that makes me proud of begin a programmer for.

by Robin on Feb 28, 2011. #