{"id":17977943,"url":"https://github.com/coderyi/yirefresh","last_synced_at":"2025-04-09T10:08:28.258Z","repository":{"id":28267723,"uuid":"31778055","full_name":"coderyi/YiRefresh","owner":"coderyi","description":"a simple way to use pull-to-refresh.下拉刷新，大道至简，最简单的网络刷新控件","archived":false,"fork":false,"pushed_at":"2019-09-17T06:50:46.000Z","size":350,"stargazers_count":251,"open_issues_count":5,"forks_count":42,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-02T08:10:04.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/coderyi/blog","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/coderyi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-03-06T16:26:49.000Z","updated_at":"2025-03-23T09:04:07.000Z","dependencies_parsed_at":"2022-08-27T16:12:16.468Z","dependency_job_id":null,"html_url":"https://github.com/coderyi/YiRefresh","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiRefresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiRefresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiRefresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiRefresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderyi","download_url":"https://codeload.github.com/coderyi/YiRefresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018060,"owners_count":21034048,"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-10-29T17:30:14.100Z","updated_at":"2025-04-09T10:08:28.233Z","avatar_url":"https://github.com/coderyi.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YiRefresh\n[![Pod Version](http://img.shields.io/cocoapods/v/YiRefresh.svg?style=flat)](http://cocoadocs.org/docsets/YiRefresh/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/YiRefresh.svg?style=flat)](http://cocoadocs.org/docsets/YiRefresh/)\n[![Pod License](http://img.shields.io/cocoapods/l/YiRefresh.svg?style=flat)](https://opensource.org/licenses/MIT)\n\n[中文README](https://github.com/coderyi/YiRefresh/blob/master/README_Chinese.md)\n\na simple way to use pull-to-refresh.\n\nimplement by KVO,support UITableView，UICollectionView，UIWebView.\n\nYiRefresh Support iOS7+，horizontal and vertical screen，iPhone and iPad.\n\n#### Podfile\n\n```ruby\nplatform :ios, '7.0'\npod \"YiRefresh\", \"~\u003e 0.9.5\"\n```\n\n- [Who Uses YiRefresh](https://github.com/coderyi/YiRefresh/wiki/Who-Uses-YiRefresh)\n\nheader drop down to refresh\n\n    refreshHeader=[[YiRefreshHeader alloc] init];\n    refreshHeader.scrollView=tableView;\n    [refreshHeader header];\n    typeof(refreshHeader) __weak weakRefreshHeader = refreshHeader;\n    refreshHeader.beginRefreshingBlock=^(){\n        typeof(weakRefreshHeader) __strong strongRefreshHeader = weakRefreshHeader;\n        [strongRefreshHeader endRefreshing];\n    };\n    [refreshHeader beginRefreshing];\n    \nfooter pull up to refresh\n\n    refreshFooter=[[YiRefreshFooter alloc] init];\n    refreshFooter.scrollView=tableView;\n    [refreshFooter footer];\n    typeof(refreshFooter) __weak weakRefreshFooter = refreshFooter;\n    refreshFooter.beginRefreshingBlock=^(){\n        typeof(weakRefreshFooter) __strong strongRefreshFooter = weakRefreshFooter;\n        [strongRefreshFooter endRefreshing];\n    };\n    \n![YiRefresh](http://7u2k5i.com1.z0.glb.clouddn.com/github_yirefreshtable.gif?imageMogr2/thumbnail/370x662!) \n![YiRefresh](http://7u2k5i.com1.z0.glb.clouddn.com/github_yirefreshtable1.gif?imageMogr2/thumbnail/!50p) \n\n\n\n![YiRefresh](http://7u2k5i.com1.z0.glb.clouddn.com/github_yirefreshcollection1.gif?imageMogr2/thumbnail/!50p) \n![YiRefresh](http://7u2k5i.com1.z0.glb.clouddn.com/github_yirefreshcollection2.gif?imageMogr2/thumbnail/!50p) \n\n\ncopyright (c) 2015 coderyi.all rights reserved.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fyirefresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderyi%2Fyirefresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fyirefresh/lists"}