{"id":15037607,"url":"https://github.com/adriantabirta/atrefreshcontrol","last_synced_at":"2026-03-17T23:31:46.410Z","repository":{"id":114362790,"uuid":"112117388","full_name":"adriantabirta/ATRefreshControl","owner":"adriantabirta","description":"Custom UIRefreshControl in Swift.","archived":false,"fork":false,"pushed_at":"2017-11-26T21:23:14.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T08:23:16.682Z","etag":null,"topics":["ios","refreshcontrol","swift","swift-3","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adriantabirta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-26T21:17:28.000Z","updated_at":"2017-11-26T21:27:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"f42b2cb9-f55a-40c9-b6db-0bd4dec895a3","html_url":"https://github.com/adriantabirta/ATRefreshControl","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/adriantabirta%2FATRefreshControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriantabirta%2FATRefreshControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriantabirta%2FATRefreshControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriantabirta%2FATRefreshControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adriantabirta","download_url":"https://codeload.github.com/adriantabirta/ATRefreshControl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243402701,"owners_count":20285287,"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":["ios","refreshcontrol","swift","swift-3","xcode"],"created_at":"2024-09-24T20:35:05.692Z","updated_at":"2025-12-29T23:15:16.658Z","avatar_url":"https://github.com/adriantabirta.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATRefreshControl\n\nA custom UIRefreshControl written in Swift with gradient animation.\n\n\n[![N|Solid](https://i.imgur.com/sdxV5Yq.gif)](https://i.imgur.com/sdxV5Yq.gif)\n\n\nExemple:\n```sh\nimport UIKit\n\nclass ViewController: UIViewController {\n\n\t@IBOutlet fileprivate weak var tableview: UITableView!\n\tfileprivate lazy var refresh \t= ATRefreshControl()\n\n\toverride func viewDidLoad() {\n\t\tsuper.viewDidLoad()\n\t\ttableview.delegate = self\n\t\ttableview.addSubview(refresh)\n\t}\n}\n\nextension ViewController: UIScrollViewDelegate {\n\n\tfunc scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {\n\t\trefresh.containingScrollViewDidEndDragging(scrollView)\n\t}\n\n\tfunc scrollViewDidScroll(_ scrollView: UIScrollView) {\n\t\trefresh.didScroll(scrollView)\n\t}\n}\n\nextension ViewController: UITableViewDelegate, UITableViewDataSource {\n\t/*\n\t\tyour implementation here\n\t*/\n}\n```\n\n### Installation\nJust drag and drop ATRefreshControl.swift file in your project.\n\n### Todos\n\n- Add beginRefreshing(), endRefreshing()\n- Add custom animation while scroll\n\nLicense\n----\nMIT\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriantabirta%2Fatrefreshcontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadriantabirta%2Fatrefreshcontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriantabirta%2Fatrefreshcontrol/lists"}