{"id":2719,"url":"https://github.com/Yalantis/PullToMakeSoup","last_synced_at":"2025-08-03T00:32:22.848Z","repository":{"id":32444580,"uuid":"36022896","full_name":"Yalantis/PullToMakeSoup","owner":"Yalantis","description":"Custom animated pull-to-refresh that can be easily added to UIScrollView","archived":false,"fork":false,"pushed_at":"2019-03-18T23:02:00.000Z","size":1336,"stargazers_count":1922,"open_issues_count":4,"forks_count":215,"subscribers_count":65,"default_branch":"master","last_synced_at":"2024-04-24T14:51:29.922Z","etag":null,"topics":["animation","carthage","ios","pulltomakesoup","refreshes","swift","uiscrollview","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":".github/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-21T16:00:32.000Z","updated_at":"2024-04-24T05:17:29.000Z","dependencies_parsed_at":"2022-08-07T17:30:43.012Z","dependency_job_id":null,"html_url":"https://github.com/Yalantis/PullToMakeSoup","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPullToMakeSoup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPullToMakeSoup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPullToMakeSoup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FPullToMakeSoup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yalantis","download_url":"https://codeload.github.com/Yalantis/PullToMakeSoup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510782,"owners_count":17931762,"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","carthage","ios","pulltomakesoup","refreshes","swift","uiscrollview","yalantis"],"created_at":"2024-01-05T20:16:21.028Z","updated_at":"2024-12-06T18:30:42.671Z","avatar_url":"https://github.com/Yalantis.png","language":"Objective-C","funding_links":[],"categories":["UI","PullToRefresh","Lists","Objective-C","Objective-C  Stars 1000以内排名整理","Other"],"sub_categories":["Pull to Refresh","Layout","Other free courses","General Purpose Libraries"],"readme":"\n## PullToMakeSoup [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\nCustom animated pull-to-refresh that can be easily added to UIScrollView\n\n[![Yalantis](https://raw.githubusercontent.com/Yalantis/PullToMakeSoup/master/PullToMakeSoupDemo/Resouces/badge_dark.png)](https://yalantis.com/?utm_source=github)\n\nCheck this [article on our blog](https://yalantis.com/blog/how-we-built-customizable-pull-to-refresh-pull-to-cook-soup-animation/?utm_source=github) to know more details about animations implementation\n\nInspired by [this project on dribble](https://dribbble.com/shots/2074667-Recipe-Finder-v-2)\n\n\u003cimg src=\"https://raw.githubusercontent.com/Yalantis/PullToMakeSoup/master/PullToMakeSoupDemo/Resouces/recipe-finder.gif\" /\u003e\n\n## Requirements\n- iOS 8.0+\n- Xcode 8\n- Swift 3\n- Portrait orientation\n\n#### [Carthage](https://github.com/Carthage/Carthage)\n```\ngithub \"Yalantis/PullToMakeSoup\" ~\u003e 2.0\n```\n\n## Installing with [CocoaPods](https://cocoapods.org)\n\n```ruby\nuse_frameworks!\npod 'PullToMakeSoup', '~\u003e 2.0'\n```\n\n## Usage\n\nAt first, import PullToMakeSoup framework:\n\n```swift\nimport PullToMakeSoup\n```\n\nCreate refresher:\n\n\n```swift\nlet refresher = PullToMakeSoup()\n```\n\nAdd refresher to your UIScrollView subclass in 'viewDidAppear' method and provide action block:\n\n```swift\n\noverride func viewDidAppear(animated: Bool) {\n    super.viewDidAppear(animated)\n    tableView.addPullToRefresh(refresher) {\n        // action to be performed (pull data from some source)\n    }\n}\n\n```\n\nAfter the action is completed and you want to hide the refresher:\n\n```swift\ntableView.endRefreshing()\n```\n \nYou can also start refreshing programmatically:\n\n```swift\ntableView.startRefreshing()\n```\n\nComponent was implemented based on [customizable pull-to-refresh](https://github.com/Yalantis/PullToRefresh)\n\n## Let us know!\n\nWe’d be really happy if you sent 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\n## License\n\n\tThe MIT License (MIT)\n\n\tCopyright © 2017 Yalantis\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYalantis%2FPullToMakeSoup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYalantis%2FPullToMakeSoup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYalantis%2FPullToMakeSoup/lists"}