{"id":30499109,"url":"https://github.com/keepworks/kwgradientview","last_synced_at":"2025-10-08T19:09:39.685Z","repository":{"id":56917721,"uuid":"76010604","full_name":"keepworks/KWGradientView","owner":"keepworks","description":"Subclass of UIView to add gradients to your views and animate them by changing colors","archived":false,"fork":false,"pushed_at":"2019-09-20T06:14:51.000Z","size":4118,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-03T22:36:16.092Z","etag":null,"topics":["animated-gradient","animation","diagonal","gradient","horizontal","storyboard","swift","vertical"],"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/keepworks.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":"2016-12-09T07:04:26.000Z","updated_at":"2023-06-12T15:24:19.000Z","dependencies_parsed_at":"2022-08-21T04:50:50.246Z","dependency_job_id":null,"html_url":"https://github.com/keepworks/KWGradientView","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/keepworks/KWGradientView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keepworks%2FKWGradientView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keepworks%2FKWGradientView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keepworks%2FKWGradientView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keepworks%2FKWGradientView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keepworks","download_url":"https://codeload.github.com/keepworks/KWGradientView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keepworks%2FKWGradientView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272009523,"owners_count":24857804,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["animated-gradient","animation","diagonal","gradient","horizontal","storyboard","swift","vertical"],"created_at":"2025-08-25T05:41:48.409Z","updated_at":"2025-10-08T19:09:34.658Z","avatar_url":"https://github.com/keepworks.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KWGradientView\n\n![Screen Cast](ScreenShots/screencast.gif)\n\n[![Build Status](https://www.bitrise.io/app/d54da2ec7c9a0496.svg?token=kBv75DKdduTDchGW4zK06g\u0026branch=master)](https://www.bitrise.io/app/d54da2ec7c9a0496)\n[![Version](https://img.shields.io/cocoapods/v/KWGradientView.svg?style=flat)](http://cocoapods.org/pods/KWGradientView)\n[![License](https://img.shields.io/cocoapods/l/KWGradientView.svg?style=flat)](http://cocoapods.org/pods/KWGradientView)\n[![Platform](https://img.shields.io/cocoapods/p/KWGradientView.svg?style=flat)](http://cocoapods.org/pods/KWGradientView)\n\n## Features\n\n- [x] Horizontal, vertical \u0026 diagonal gradients\n- [x] Animate gradients by changing colors \n\n## Requirements\n\n- iOS 10.0 or later\n- Swift 5\n\n## Installation\n\nKWGradientView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"KWGradientView\"\n```\n\n## How to use\n\n#### Add the class KWGradientView to View on storyboard\n\n![Adding KWGradientView](ScreenShots/addingKWGradientView.png)\n\n#### Modifying color and gradient style using storyboard\n\n![Modify in storyboard](ScreenShots/modifyByStoryboard.png)\n\n#### Or Modify Programmatically: Example with Horizontal Gradient\n\n```swift\n@IBOutlet weak var gradientView: KWGradientView!\n\ngradientView.addGradientLayerAlongXAxis(colors: [UIColor.red, UIColor.green, UIColor.blue])\n```\n\nAlso we can add any number of colors by adding them to the array of colors.\n\nAll the methods in the pod are implemented in [`GradientsViewController.swift`](https://github.com/keepworks/KWGradientView/blob/master/KWGradientView/GradientsViewController.swift) for your reference.\n\n## Author\n\nKeepWorks, ios@keepworks.com\n\n## Credits\n\nKWGradientView is owned and maintained by [KeepWorks](http://www.keepworks.com/).\n\n[![N|Solid](http://www.keepworks.com/assets/logo-800bbf55fabb3427537cf669dc8cd018.png)](http://www.keepworks.com/)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/keepworks/KWGradientView.\n\n## License\n\nKWGradientView is available under the [MIT License](http://opensource.org/licenses/MIT). See the [License](https://github.com/keepworks/KWGradientView/blob/master/LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeepworks%2Fkwgradientview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeepworks%2Fkwgradientview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeepworks%2Fkwgradientview/lists"}