{"id":15038360,"url":"https://github.com/smitters/gradientprogress","last_synced_at":"2025-06-13T20:04:35.835Z","repository":{"id":56912931,"uuid":"102930960","full_name":"Smitters/GradientProgress","owner":"Smitters","description":"A gradient progress bar (UIProgressView).","archived":false,"fork":false,"pushed_at":"2017-09-09T13:00:32.000Z","size":119,"stargazers_count":42,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-10T09:18:13.934Z","etag":null,"topics":["cocoapods","gradient","progress","progress-bar","swift-4","uiprogressview","xcode9"],"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/Smitters.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":"2017-09-09T05:57:49.000Z","updated_at":"2025-04-11T14:20:17.000Z","dependencies_parsed_at":"2022-08-21T03:20:32.444Z","dependency_job_id":null,"html_url":"https://github.com/Smitters/GradientProgress","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Smitters/GradientProgress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitters%2FGradientProgress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitters%2FGradientProgress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitters%2FGradientProgress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitters%2FGradientProgress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Smitters","download_url":"https://codeload.github.com/Smitters/GradientProgress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitters%2FGradientProgress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259712373,"owners_count":22900034,"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","gradient","progress","progress-bar","swift-4","uiprogressview","xcode9"],"created_at":"2024-09-24T20:38:10.736Z","updated_at":"2025-06-13T20:04:35.810Z","avatar_url":"https://github.com/Smitters.png","language":"Swift","readme":"GradientProgress\n====================\n\n![Swift4.0](https://img.shields.io/badge/Swift-4.0-green.svg?style=flat) ![Version](https://img.shields.io/cocoapods/v/GradientProgress.svg)\n![ios](https://cocoapod-badges.herokuapp.com/p/GradientProgress/badge.png)\n![GitHub license](https://cocoapod-badges.herokuapp.com/l/GradientProgress/badge.png)\n[![Twitter](https://img.shields.io/badge/contact-@smetankin93-blue.svg?style=flat)](https://twitter.com/smetankin93)\n[![GitHub issues](https://img.shields.io/github/issues/Smitters/GradientProgress.svg?style=flat-square)](https://github.com/Smitters/GradientProgress/issues)\n\nA gradient progress bar (UIProgressView). Inspired by [iOS Style Gradient Progress Bar with Pure CSS/CSS3](http://www.cssscript.com/ios-style-gradient-progress-bar-with-pure-css-css3/).\n\n![Sample](https://raw.githubusercontent.com/Smitters/GradientProgress/master/Example/GradientProjectExample/GradientProjectExample/storedImages/sampleImage.png)\n\n\n### Integration\nGradientProgress can be added to your project using [CocoaPods](https://cocoapods.org/) by adding the following line to your Podfile:\n```\npod 'GradientProgress'\n```\n**Manual:**\n\nClone the repo and drag the file `GradientProgress.swift` into your Xcode project.\n\n## Features\n- [x] Supports AutoLayout.\n- [x] Supports customizing gradient colors.\n- [x] Supports customizing background colors.\n- [x] Supports customizing corner radius of gradient layer.\n- [x] Supports being created either in code or Interface Builder.\n\n\n### How to use\nSimply drop a `UIProgressView` into your View Controller in the Storyboard. Select your progress view and in the `Identity Inspector` change the class to `GradientProgress`.\n\u003eDon't forget to change the module to `GradientProgress` too.\n\n![Interface Builder](https://raw.githubusercontent.com/Smitters/GradientProgress/master/Example/GradientProjectExample/GradientProjectExample/storedImages/storyboard.png)\n\nSetup the constraints for the UIProgressView according to your needs.\n\nImport `GradientProgress` in your view controller source file.\n```swift\nimport GradientProgress\n```\nCreate an `IBOutlet` of the progress view in your view controller source file.\n```swift\n@IBOutlet weak var progressView: GradientProgress!\n```\nAfter that you can set the progress programmatically as you would do on a normal UIProgressView.\n```swift\nprogressView.setProgress(0.5, animated: true)\n\nprogressView.progress = 0.75\n```\n\n### Configuration\nYou can change gradient colors and corner radius:\n```swift\nprogressView.gradientColors = [UIColor.yellow.cgColor, UIColor.black.cgColor]\n\nprogressView.cornerRadius = 10\n```\n\n### Version\n1.0\n\n## Help, feedback or suggestions?\n\n- [Open an issue](https://github.com/Smitters/GradientProgress/issues/new) if you need help, if you found a bug, or if you want to discuss a feature request.\n- [Open a PR](https://github.com/Smitters/GradientProgress/pull/new/master) if you want to make some change to `GradientProgress`.\n- Contact [@smetankin93 on Twitter](https://twitter.com/smetankin93) for discussions, news \u0026 announcements about new pods.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmitters%2Fgradientprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmitters%2Fgradientprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmitters%2Fgradientprogress/lists"}