{"id":13637809,"url":"https://github.com/edgar-zigis/CocoaButton","last_synced_at":"2025-04-19T17:31:53.975Z","repository":{"id":56906101,"uuid":"215880732","full_name":"edgar-zigis/CocoaButton","owner":"edgar-zigis","description":"Interactive UIButton with loading capability","archived":false,"fork":false,"pushed_at":"2021-10-26T19:17:54.000Z","size":982,"stargazers_count":23,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-16T21:09:52.891Z","etag":null,"topics":["button","cocoa","ios","loading","material"],"latest_commit_sha":null,"homepage":"","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/edgar-zigis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"edgar-zigis","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-10-17T20:33:09.000Z","updated_at":"2022-03-19T04:01:40.000Z","dependencies_parsed_at":"2022-08-20T19:20:15.972Z","dependency_job_id":null,"html_url":"https://github.com/edgar-zigis/CocoaButton","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgar-zigis","download_url":"https://codeload.github.com/edgar-zigis/CocoaButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223804955,"owners_count":17205829,"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":["button","cocoa","ios","loading","material"],"created_at":"2024-08-02T01:00:34.163Z","updated_at":"2024-11-09T08:30:22.213Z","avatar_url":"https://github.com/edgar-zigis.png","language":"Swift","funding_links":["https://github.com/sponsors/edgar-zigis"],"categories":["Content"],"sub_categories":["Button"],"readme":"# CocoaButton\n\nStylish UIButton with loading animation capability.\n##### Minimum iOS version 11.0\n\n![alt text](https://github.com/edgar-zigis/CocoaButton/blob/master/sample.gif?raw=true)\n\n### Carthage\n\n```\ngithub \"edgar-zigis/CocoaButton\" ~\u003e 1.0.0\n```\n### Cocoapods\n\n```\npod 'CocoaButton', '~\u003e 1.0.0'\n```\n### Usage\n```swift\nlet v = CocoaButton()\nv.backgroundColor = UIColor(displayP3Red: 49/255, green: 190/255, blue: 169/255, alpha: 1)\nv.shadowColor = UIColor(red: 94/255, green: 186/255, blue: 187/255, alpha: 0.6)\nv.startLoading() //  -\u003e starts loader\nv.stopLoading() //  -\u003e stops loader\n```\n### Remarks\nIt can be used both programmatically and with storyboards. It has all the features of the UIButton. Samples are available at **CocoaButtonTest**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-zigis%2FCocoaButton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgar-zigis%2FCocoaButton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-zigis%2FCocoaButton/lists"}