Open Source Projects

[MB Kyle Kwon] Pull-to-refresh : 당겨서 새로고침 (iOS)

MB Brad KWON 2013. 11. 29. 09:29

Attention: As of iOS 6.0, there is a UIRefreshControl object that makes adding pull-to-refresh functionality super easy. If you only need to support iOS 6.0 and later, I'd recommend using UIRefreshControl instead.


PullToRefresh

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




Inspired by leah and her project leah / PullToRefresh.

How to install

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

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

  3. Create a tableView that is a subclass of PullRefreshTableView in your ViewController where you want to use Pull-to-refresh.

  4. Customize by delegate your own refresh() method.



GitHub URL : https://github.com/MBKwon/PullToRefresh