{"id":2712,"url":"https://github.com/Antondomashnev/ADChromePullToRefresh","last_synced_at":"2025-08-03T00:32:23.390Z","repository":{"id":31812165,"uuid":"35378797","full_name":"Antondomashnev/ADChromePullToRefresh","owner":"Antondomashnev","description":"ADChromePullToRefresh","archived":false,"fork":false,"pushed_at":"2018-11-17T00:01:58.000Z","size":52,"stargazers_count":266,"open_issues_count":2,"forks_count":18,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-24T19:43:50.372Z","etag":null,"topics":["cocoapods","pull-to-refresh","refresh-actions"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/Antondomashnev.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-05-10T16:31:34.000Z","updated_at":"2023-03-05T12:34:48.000Z","dependencies_parsed_at":"2022-08-21T02:20:53.307Z","dependency_job_id":null,"html_url":"https://github.com/Antondomashnev/ADChromePullToRefresh","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antondomashnev%2FADChromePullToRefresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antondomashnev%2FADChromePullToRefresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antondomashnev%2FADChromePullToRefresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antondomashnev%2FADChromePullToRefresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antondomashnev","download_url":"https://codeload.github.com/Antondomashnev/ADChromePullToRefresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510778,"owners_count":17931761,"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":["cocoapods","pull-to-refresh","refresh-actions"],"created_at":"2024-01-05T20:16:20.861Z","updated_at":"2024-12-06T18:30:42.856Z","avatar_url":"https://github.com/Antondomashnev.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Pull to Refresh","Layout","Other free courses"],"readme":"# ADChromePullToRefresh\n\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ADChromePullToRefresh.svg)](https://img.shields.io/cocoapods/v/ADChromePullToRefresh.svg)\n\nYet another custom pull to refresh for your needs.\n\nInspired by Google Chrome iOS app\n\n\u003cimg src=\"https://d13yacurqjgara.cloudfront.net/users/21258/screenshots/2022862/attachments/357920/animation.gif\" width=\"320\" /\u003e \u003cimg src=\"https://api.monosnap.com/rpc/file/download?id=raQ6CTh7KVJ1exCukROYH5mjibgwNp\" width=\"320\" /\u003e\n\n## Easy to use\n\nYou can simply setup your own chrome style pull to refresh using the initializer below\n\n```swift\n/*\n * To initialize ADChromePullToRefresh use this designated initializer\n * @param view - view to overlay by pull to refresh\n * @param scrollView - for which scrollView we add pull to refresh\n * @param scrollViewOriginalOffsetY - initial offset y of the given scrollView\n * @param delegate - object conformed to ADChromePullToRefreshDelegate protocol\n */\ninit(view: UIView, forScrollView scrollView: UIScrollView, scrollViewOriginalOffsetY: CGFloat, delegate: ADChromePullToRefreshDelegate)\n```\n\nTo provide custom handler for pull to refresh actions you need to implement this delegate methos in your class\n\n```swift\n/*\n * Use this function to provide an action for the given action view type\n */\nfunc chromePullToRefresh(_ pullToRefresh: ADChromePullToRefresh, actionForViewWithType: ADChromePullToRefreshActionViewType) -\u003e ADChromePullToRefreshAction?\n```\n\nYou're able to customize pull to refresh action view according to your needs 🚀\n\n```swift\n/*\n * Use this function to create view with icon for the given pullToRefresh. To customize view use subclass of   \n * ADChromePullToRefreshActionView\n * @see ADChromePullToRefreshActionView.swift\n * @see UITableViewDelegate - similar method to get header and footer view\n */\nfunc chromePullToRefresh(_ pullToRefresh: ADChromePullToRefresh, viewWithType: ADChromePullToRefreshActionViewType) -\u003e ADChromePullToRefreshActionView\n```\n\n## Easy to install\n\n### CocoaPods\n\nTo integrate ADPuzzleAnimation into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\nuse_frameworks!\n\npod 'ADChromePullToRefresh', '~\u003e 0.5'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAntondomashnev%2FADChromePullToRefresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAntondomashnev%2FADChromePullToRefresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAntondomashnev%2FADChromePullToRefresh/lists"}