{"id":32321414,"url":"https://github.com/gokulnair2001/capo","last_synced_at":"2026-02-26T04:02:57.357Z","repository":{"id":54672162,"uuid":"324513700","full_name":"gokulnair2001/Capo","owner":"gokulnair2001","description":"A custom Framework used to add animations and effect to UIButtons. ","archived":false,"fork":false,"pushed_at":"2022-01-05T09:38:44.000Z","size":223,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T15:31:59.642Z","etag":null,"topics":["animation","animations","capo","convenient","custom-library","flash","gradient-background","pulse","swift5","uibutton","uikit","xcode"],"latest_commit_sha":null,"homepage":"https://capoframe.github.io/Capo/","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/gokulnair2001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-26T08:32:19.000Z","updated_at":"2023-10-11T02:47:05.000Z","dependencies_parsed_at":"2022-08-13T23:30:53.076Z","dependency_job_id":null,"html_url":"https://github.com/gokulnair2001/Capo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gokulnair2001/Capo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokulnair2001%2FCapo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokulnair2001%2FCapo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokulnair2001%2FCapo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokulnair2001%2FCapo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gokulnair2001","download_url":"https://codeload.github.com/gokulnair2001/Capo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokulnair2001%2FCapo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29848662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","animations","capo","convenient","custom-library","flash","gradient-background","pulse","swift5","uibutton","uikit","xcode"],"created_at":"2025-10-23T12:10:44.954Z","updated_at":"2026-02-26T04:02:57.346Z","avatar_url":"https://github.com/gokulnair2001.png","language":"Swift","funding_links":["https://www.buymeacoffee.com/gokulnair"],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n\u003c!--\u003cimg ssrc = \"https://user-images.githubusercontent.com/56252259/103150031-c6722280-4795-11eb-83f1-7edfc7ccdcb3.png\" width = 800, height = 450\u003e--\u003e\n \u003cimg width=\"800\" alt=\"Screenshot 2020-12-27 at 2 22 23 PM\" src=\"https://user-images.githubusercontent.com/56252259/103150031-c6722280-4795-11eb-83f1-7edfc7ccdcb3.png\"\u003e \n\u003c/p\u003e\n\n# Capo\n\n[![Versions](https://img.shields.io/cocoapods/v/Capo.svg?style=flat)](https://cocoapods.org/pods/Capo)\n![commits](https://img.shields.io/github/commits-since/CapoFrame/Capo/1.2.3/master)\n![contributor](https://img.shields.io/github/contributors/CapoFrame/Capo)\n![Badge](https://img.shields.io/badge/License-MIT-yellow) \n![Badge](https://img.shields.io/badge/Xcode-12.0-green)\n![badge](https://img.shields.io/badge/Swift-5.1-red)\n![Badge](https://img.shields.io/badge/RepoSize-6kb-brown)\n[![Platform](https://img.shields.io/cocoapods/p/Capo.svg?style=flat)](https://cocoapods.org/pods/Capo)\n\n## About 📒\nSo Capo is a custom Framework used to apply various animations and effect to a button. Capo reduces your 10-12 lines of code to 1 line making it more convenient to read and execute. Capo comes with various animations like pulse, flash and effects like applying gradient background and etc. So capo doesn't require any additional dependency's ,its a small and optimized library to make your work more convenient, easy, optimised and easy to understand too.\n\n## Idea ❤️\nSo while coding I found whenever it was about applying animations and effects we were supposed to write same lines of code multiple time, this made my coding frequency slow and even making the code appearance bad. So I thought to make a library which would make my work easy eventually making others work too. This was the idea behind developing Capo.\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements \n\nDevice running on iOS/iPadOS 12.0+ versions 📱.\n\n## Installation\n\nCapo is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Capo'\n```\n# How To Use 📁 ?\n\n### Apply CornerRadius, BorderWidth and BorderColor\n\n```swift\nCapoTuner.tune(button: UIButton ,cornerRadius: CGFloat, borderWidth: CGFloat, borderColor: UIColor )\n```\n\n### Apply Gradient Background\n\n```swift\nCapoTuner.applyGradient(button:UIButton, color1: UIColor, color2: UIColor, cornerRadius: CGFloat) \n```\n### Apply Shadow Effect \n\n```swift\nCapoTuner.applyShadow(button: UIButton, color: UIColor, width: Double, height: Double, Radius: CGFloat, opacity: Float)\n```\n\n### Apply Pulse Animation\n\n```swift\nCapoTuner.pulsate(button: UIButton, duration: CFTimeInterval, from: CFTimeInterval, to: CFTimeInterval, autoReverse: Bool = false, repeatCount: Float = 0,velocity: CGFloat, damping: CGFloat)\n```\n\n### Apply Flash Aimation\n\n```swift\nCapoTuner.flash(button: UIButton, duration: CFTimeInterval, from: CFTimeInterval, to: CFTimeInterval, autoReverse: Bool = false, repeatCount: Float = 0)\n```\n### Apply PopColor Animation\n\n```swift\nCapoTuner.popColors(button: UIButton,fromColor: UIColor, toColor: UIColor, cornerRadius:CGFloat = 0,duration: CFTimeInterval, autoReverse: Bool = false, repeatCount: Float = 0)\n```\n# Snapshots 🌉\n\n Effect 1 | Effect 2| Effect 3|\n--- | --- | ---\n\u003cimg width=\"200\" alt=\"Screenshot 2020-12-27 at 2 22 23 PM\" src=\"https://user-images.githubusercontent.com/56252259/103167406-fe8a6b80-4850-11eb-9f0a-5778625e3707.png\"\u003e | \u003cimg width=\"200\" alt=\"Screenshot 2020-12-27 at 2 27 41 PM\" src=\"https://user-images.githubusercontent.com/56252259/103167409-021df280-4851-11eb-95d4-a6c3218726b1.png\"\u003e | \u003cimg width=\"200\" alt=\"Screenshot 2020-12-27 at 2 27 41 PM\" src=\"https://user-images.githubusercontent.com/56252259/103194838-d1989000-4906-11eb-8120-c6017463e66e.png\"\u003e  |\n\n\n Effect 4| Effect 5| Effect 6|\n --- | --- | ---\n \u003cimg width=\"200\" alt=\"Screenshot 2020-12-27 at 2 22 23 PM\" src=\"https://user-images.githubusercontent.com/56252259/103167532-ce8f9800-4851-11eb-99a0-46e383dac184.gif\"\u003e | \u003cimg width=\"200\" alt=\"Screenshot 2020-12-27 at 2 27 41 PM\" src=\"https://user-images.githubusercontent.com/56252259/103167537-d3ece280-4851-11eb-8e7c-c860a9b83ec5.gif\"\u003e | \u003cimg width=\"200\" alt=\"Screenshot 2020-12-27 at 2 27 41 PM\" src=\"https://user-images.githubusercontent.com/56252259/103167539-d5b6a600-4851-11eb-897b-422982da75a9.gif\"\u003e  |\n \n* Sample animations given above are made with arbitrary values, you can change it according to your need 🎛.\n* Above given animations are applied on UIButtons!.\n\n## License\n\nCapo is available under the MIT license. See the [LICENSE](https://github.com/gokulnair2001/Capo/blob/master/LICENSE) for more info.\n\n## How to Contribute ✍️ \n\n* Install the pod - Steps mentioned above\n* If you face issues in any step open a new issue.\n* To fix issues: Fork this repository, make your changes and make a Pull Request. \n\n## Note 🔴\n* By default the \"autoreverse\" function for animations are kept false.\n\n## Updates ⚠️\nRight now capo comes with limited features, it will be updated with future releases, So stay tuned to know more about Capo.\n\n## Project Admin 👨🏻‍💻\n\n|                                                                                         \u003ca href=\"https://gokulnair2001.wixsite.com/mysite\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/56252259/115108478-482ccc80-9f8e-11eb-94a0-430db46a432f.png\" width=150px height=160px /\u003e\u003c/a\u003e                                                                                         |\n| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n|                                                                                                                                        **[Gokul Nair](https://www.linkedin.com/in/gokul-r-nair/)**                                                                                                                                        |\n| \u003ca href=\"https://www.instagram.com/_gokul_r_nair_/\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/56252259/114969025-24d22680-9e95-11eb-848d-b20e73269c4c.png\" width=\"32px\" height=\"32px\"\u003e\u003c/a\u003e \u003ca href=\"https://twitter.com/GokulNair2303\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/56252259/114967867-d6bc2380-9e92-11eb-8f89-c437f39a45de.png\" width=\"32px\" height=\"32px\"\u003e\u003c/a\u003e  \u003ca href=\"https://www.linkedin.com/in/gokul-r-nair/\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/56252259/114967871-d7ed5080-9e92-11eb-8781-cd7cf9bb52db.png\" width=\"32px\" height=\"32px\"\u003e\u003c/a\u003e |\n\n# Like the Project ?\nIf you like using any of my projects or like what I'm doing, please consider backing me with appreciating my work: [Message me](https://www.linkedin.com/in/gokul-r-nair/)🥰\n\u003c!--\n[\u003cimg width=\"200\" alt=\"BMC logo+wordmark - Black\" src=\"https://cdn.buymeacoffee.com/buttons/v2/default-red.png\"\u003e](https://www.buymeacoffee.com/gokulnair)\n--\u003e\nOR\n\n**Drop a star ⭐ if you find this project interesting!**\n\n\u003cp align=\"center\" width=\"100%\"\u003e\n   Made with ❤️ in 🇮🇳 By Gokul Nair   \n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgokulnair2001%2Fcapo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgokulnair2001%2Fcapo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgokulnair2001%2Fcapo/lists"}