{"id":13902827,"url":"https://github.com/Yalantis/Pull-to-Refresh.Rentals-iOS","last_synced_at":"2025-07-18T00:32:15.436Z","repository":{"id":25701590,"uuid":"29138050","full_name":"Yalantis/Pull-to-Refresh.Rentals-iOS","owner":"Yalantis","description":"This project aims to provide a simple and customizable pull to refresh implementation. Made in Yalantis","archived":false,"fork":false,"pushed_at":"2018-06-16T09:20:03.000Z","size":263,"stargazers_count":2132,"open_issues_count":8,"forks_count":262,"subscribers_count":105,"default_branch":"master","last_synced_at":"2025-06-24T21:17:49.710Z","etag":null,"topics":["animation","cocoapods","customizable","customization","ios","objective-c","pull-to-refresh","refresh","yalantis"],"latest_commit_sha":null,"homepage":"https://yalantis.com/","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/Yalantis.png","metadata":{"files":{"readme":"README.md","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":"2015-01-12T14:02:55.000Z","updated_at":"2025-04-21T18:15:44.000Z","dependencies_parsed_at":"2022-08-07T11:15:56.804Z","dependency_job_id":null,"html_url":"https://github.com/Yalantis/Pull-to-Refresh.Rentals-iOS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Yalantis/Pull-to-Refresh.Rentals-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPull-to-Refresh.Rentals-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPull-to-Refresh.Rentals-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPull-to-Refresh.Rentals-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPull-to-Refresh.Rentals-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yalantis","download_url":"https://codeload.github.com/Yalantis/Pull-to-Refresh.Rentals-iOS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPull-to-Refresh.Rentals-iOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265685524,"owners_count":23811191,"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":["animation","cocoapods","customizable","customization","ios","objective-c","pull-to-refresh","refresh","yalantis"],"created_at":"2024-08-06T22:01:26.961Z","updated_at":"2025-07-18T00:32:15.111Z","avatar_url":"https://github.com/Yalantis.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# Pull-to-Refresh.Rentals-IOS\n\nThis project aims to provide a simple and customizable pull to refresh implementation.\n\n[![Yalantis](https://raw.githubusercontent.com/Yalantis/Pull-to-Refresh.Rentals-iOS/master/badge_grey.png)](https://yalantis.com/?utm_source=github)\n\nCheck this [project on Dribbble] (https://dribbble.com/shots/1650317-Pull-to-Refresh-Rentals)  \nCheck this [project on Behance] (https://www.behance.net/gallery/20411445/Mobile-Animations-Interactions)  \n\n\u003cimg src=\"https://d13yacurqjgara.cloudfront.net/users/125056/screenshots/1650317/realestate-pull_1-2-3.gif\" alt=\"alt text\" style=\"width:200;height:200\"\u003e\n\n\n#Installing with [CocoaPods](https://cocoapods.org)\n\n```ruby\npod 'Pull-to-Refresh.Rentals-IOS', '~\u003e 1.0'\n```\n\n\n#Usage\n\n*For a working implementation, Have a look at the Sample Project - sample*\n\n1. Add folder YALSunnyRefreshControll to your project.\n2. Implement header and setup YALSunnyRefreshControl as a property.\n3. Init and associate YALSunnyRefreshControl with your UITableView or UICollectionView.\n4. Add images from Images.xcassets folder in Sample Project.\n\n```objective-c\n#import \"YALSunnyRefreshControl.h\"\n\n@property (nonatomic,strong) YALSunnyRefreshControl *sunnyRefreshControl;\n\n- (void)viewDidLoad {\n    [super viewDidLoad];\n    [self setupRefreshControl];\n}\n\n- (void)setupRefreshControl{\n    self.sunnyRefreshControl = [YALSunnyRefreshControl new];\n    [self.sunnyRefreshControl addTarget:self\n                                 action:@selector(sunnyControlDidStartAnimation)\n                       forControlEvents:UIControlEventValueChanged];\n    [self.sunnyRefreshControl attachToScrollView:self.tableView];\n}\n\n- (void)sunnyControlDidStartAnimation{\n    // start loading something\n}\n\n- (IBAction)endAnimationHandle{\n    [self.sunnyRefreshControl endRefreshing];\n}\n\n```\n\n#Customization\n\nTo customize drawables you can change:\n   * sun.png - Sun image\n   * sky.png - background image\n   * buildings.png - foreground image\n\n#Compatibility\n  \n  * IOS 7-9\n  \n# Changelog\n\n### Version: 1.0\n\n  * Initial Build\n  \n#### Let us know!\n\nWe’d be really happy if you send us links to your projects where you use our component. Just send an email to github@yalantis.com And do let us know if you have any questions or suggestion regarding the animation. \n\nP.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!\n\n## License\n\n    Copyright 2017, Yalantis\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYalantis%2FPull-to-Refresh.Rentals-iOS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYalantis%2FPull-to-Refresh.Rentals-iOS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYalantis%2FPull-to-Refresh.Rentals-iOS/lists"}