{"id":15038125,"url":"https://github.com/yashthaker7/typrogressbar","last_synced_at":"2025-08-22T05:32:11.383Z","repository":{"id":56923551,"uuid":"133172720","full_name":"yashthaker7/TYProgressBar","owner":"yashthaker7","description":"Custom animating gradient progress bar","archived":false,"fork":false,"pushed_at":"2021-02-05T12:08:23.000Z","size":1127,"stargazers_count":153,"open_issues_count":2,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-17T15:19:08.639Z","etag":null,"topics":["animation","customprogress","gradient","gradientprogress","gradientprogressbar","ios","progressbar","progressview","swift","swift4","uiprogressview","with","xcode"],"latest_commit_sha":null,"homepage":null,"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/yashthaker7.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":"2018-05-12T18:21:44.000Z","updated_at":"2024-12-14T01:45:28.000Z","dependencies_parsed_at":"2022-08-21T05:20:46.112Z","dependency_job_id":null,"html_url":"https://github.com/yashthaker7/TYProgressBar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FTYProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FTYProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FTYProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FTYProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashthaker7","download_url":"https://codeload.github.com/yashthaker7/TYProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230561014,"owners_count":18245324,"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":["animation","customprogress","gradient","gradientprogress","gradientprogressbar","ios","progressbar","progressview","swift","swift4","uiprogressview","with","xcode"],"created_at":"2024-09-24T20:37:13.122Z","updated_at":"2024-12-20T09:07:19.572Z","avatar_url":"https://github.com/yashthaker7.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TYProgressBar\n\n[![Version](https://img.shields.io/cocoapods/v/TYProgressBar.svg?style=flat)](https://cocoapods.org/pods/TYProgressBar/)\n[![License](https://img.shields.io/cocoapods/l/NumberPicker.svg?style=flat)](https://cocoapods.org/pods/TYProgressBar/)\n[![Platform](https://img.shields.io/cocoapods/p/TYProgressBar.svg?style=flat)](https://cocoapods.org/pods/TYProgressBar/)\n\nCustom animating gradient progress bar. \u003cbr /\u003e\n\n![gif](ScreenShot/TYProgressBar.gif)\n\n## Installation\n\nTYProgressBar is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'TYProgressBar'\n```\n\nHow to use \n---------\n```swift\nlet progressBar = TYProgressBar()\n\nfunc setupProgressBar() {\nprogressBar.frame = CGRect(x: 0, y: 0, width: 220, height: 220)\nprogressBar.center = self.view.center\nself.view.addSubview(progressBar)\n}\n```\nCustomize \n---------\nYou can change gradient color and label font and text color \n```swift\nprogressBar.trackColor = UIColor(white: 0.2, alpha: 0.5)\nprogressBar.gradients = [UIColor.red, UIColor.yellow]\nprogressBar.textColor = .orange\nprogressBar.font = UIFont(name: \"HelveticaNeue-Medium\", size: 22)!\nprogressBar.lineDashPattern = [10, 4]   // lineWidth, lineGap\nprogressBar.lineHeight = 5\n```\n\nShow progress \n---------\n```swift\nprogressBar.progress = 0.5    // between 0 to 1\n```\n\n![ss1](ScreenShot/ss1.png) ![ss2](ScreenShot/ss2.png) ![ss3](ScreenShot/ss3.png)\n\n## Author\n\nYash Thaker, yashthaker7@gmail.com\n\n## License\n\nTYProgressBar is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashthaker7%2Ftyprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashthaker7%2Ftyprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashthaker7%2Ftyprogressbar/lists"}