{"id":13849120,"url":"https://github.com/leah/PullToRefresh","last_synced_at":"2025-07-12T15:33:09.519Z","repository":{"id":716407,"uuid":"796825","full_name":"leah/PullToRefresh","owner":"leah","description":"A simple iPhone TableViewController for adding pull-to-refresh functionality.","archived":false,"fork":false,"pushed_at":"2022-10-19T11:54:28.000Z","size":354,"stargazers_count":1907,"open_issues_count":21,"forks_count":252,"subscribers_count":79,"default_branch":"master","last_synced_at":"2024-10-04T19:46:27.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leah.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-25T17:44:33.000Z","updated_at":"2024-08-08T07:23:33.000Z","dependencies_parsed_at":"2022-08-06T17:00:08.441Z","dependency_job_id":null,"html_url":"https://github.com/leah/PullToRefresh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leah%2FPullToRefresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leah%2FPullToRefresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leah%2FPullToRefresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leah%2FPullToRefresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leah","download_url":"https://codeload.github.com/leah/PullToRefresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829365,"owners_count":17530663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T19:01:08.393Z","updated_at":"2024-11-22T01:30:29.947Z","avatar_url":"https://github.com/leah.png","language":"Objective-C","readme":"**Attention:** As of iOS 6.0, there is a [UIRefreshControl](https://developer.apple.com/library/ios/documentation/uikit/reference/UIRefreshControl_class/Reference/Reference.html) 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](https://developer.apple.com/library/ios/documentation/uikit/reference/UIRefreshControl_class/Reference/Reference.html) instead.\n\n### PullToRefresh\n\nA simple iPhone TableViewController for adding pull-to-refresh functionality.\n\n![](http://s3.amazonaws.com/leah.baconfile.com/blog/refresh-small-1.png)\n![](http://s3.amazonaws.com/leah.baconfile.com/blog/refresh-small-2.png)\n![](http://s3.amazonaws.com/leah.baconfile.com/blog/refresh-small-3.png)\n![](http://s3.amazonaws.com/leah.baconfile.com/blog/refresh-small-4.png)\n\nInspired by [Tweetie 2](http://www.atebits.com/tweetie-iphone/), [Oliver Drobnik's blog post](http://www.drobnik.com/touch/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/)\nand [EGOTableViewPullRefresh](http://github.com/enormego/EGOTableViewPullRefresh).\n\n\nHow to install\n\n1. Copy the files, [PullRefreshTableViewController.h](https://raw.github.com/leah/PullToRefresh/master/Classes/PullRefreshTableViewController.h),\n[PullRefreshTableViewController.m](https://raw.github.com/leah/PullToRefresh/master/Classes/PullRefreshTableViewController.m),\nand [arrow.png](http://github.com/leah/PullToRefresh/raw/master/arrow.png) into your project.\n\n2. Link against the QuartzCore framework (used for rotating the arrow image).\n\n3. Create a TableViewController that is a subclass of PullRefreshTableViewController.\n\n4. Customize by adding your own refresh() method.\n\n\nEnjoy!\n","funding_links":[],"categories":["Objective-C","etc","OOM-Leaks-Crash"],"sub_categories":["Refresh"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleah%2FPullToRefresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleah%2FPullToRefresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleah%2FPullToRefresh/lists"}