{"id":20678766,"url":"https://github.com/derekcoder/swiftprogressview","last_synced_at":"2025-04-19T23:10:05.147Z","repository":{"id":62456661,"uuid":"108960449","full_name":"derekcoder/SwiftProgressView","owner":"derekcoder","description":"A set of progress views written in Swift","archived":false,"fork":false,"pushed_at":"2020-05-08T09:06:20.000Z","size":18261,"stargazers_count":51,"open_issues_count":3,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-31T13:48:01.388Z","etag":null,"topics":["ios","ios-swift","progress-view","swift","swiftprogressview"],"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/derekcoder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-10-31T07:31:34.000Z","updated_at":"2024-09-13T07:05:26.000Z","dependencies_parsed_at":"2022-11-02T00:17:29.403Z","dependency_job_id":null,"html_url":"https://github.com/derekcoder/SwiftProgressView","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekcoder%2FSwiftProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekcoder%2FSwiftProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekcoder%2FSwiftProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekcoder%2FSwiftProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derekcoder","download_url":"https://codeload.github.com/derekcoder/SwiftProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224970866,"owners_count":17400474,"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":["ios","ios-swift","progress-view","swift","swiftprogressview"],"created_at":"2024-11-16T21:22:08.620Z","updated_at":"2024-11-16T21:22:09.294Z","avatar_url":"https://github.com/derekcoder.png","language":"Swift","readme":"\n# SwiftProgressView\n[![Version](https://img.shields.io/cocoapods/v/SwiftProgressView.svg?style=flat)](http://cocoapods.org/pods/SwiftProgressView)\n[![License](https://img.shields.io/cocoapods/l/SwiftProgressView.svg?style=flat)](http://cocoapods.org/pods/SwiftProgressView)\n[![Platform](https://img.shields.io/cocoapods/p/SwiftProgressView.svg?style=flat)](http://cocoapods.org/pods/SwiftProgressView)\n\nA set of progress views written in Swift.\n\n\u003cimg src=\"https://github.com/derekcoder/SwiftProgressView/blob/master/SwiftProgressViewDemo/ring_demo.gif\"\u003e \u003cimg src=\"https://github.com/derekcoder/SwiftProgressView/blob/master/SwiftProgressViewDemo/pie_demo.gif\"\u003e\n\n## Requirements\n\n- iOS 10.0+\n- Swift 4\n\n## Installation\n\n### CocoaPods\n\n```\npod 'SwiftProgressView'\n```\n\n### Carthage\n\n```\ngithub \"DerekCoder/SwiftProgressView\"\n```\n\n## Usage\n\n### Programmatically\n\n```swift\nimport SwiftProgressView\n\nlet frame = CGRect(x: 100, y: 100, width: 100, height: 100)\nlet progressView = ProgressPieView(frame: frame)\nview.addSubview(progressView)\nprogressView.setProgress(1.0, animated: true)\n```\n\n### IB (storyboard)\n\n- Drag UIView \u0026 Set Class\n\u003cimg src=\"https://github.com/derekcoder/SwiftProgressView/blob/master/SwiftProgressViewDemo/setclass.png\"\u003e\n\n- Change Attributes\n\u003cimg src=\"https://github.com/derekcoder/SwiftProgressView/blob/master/SwiftProgressViewDemo/attributes.png\"\u003e\n\n## Classes \u0026 Attributes \u0026 Methods\n\n* `ProgressRingView` - The class for ring progress view\n* `ProgressViewPieView` - The class for pie progress view\n* `progress` - 0.0 ~ 1.0, readonly. Support IBInspectable\n* `observedProgress` - The progress object to use for updating the progress view \n* `circleLineWidth` -  The width of outer circle. Support IBInspectable\n* `circleColor` - The color of outer circle. Support IBInspectable\n* `progressColor` - The color of inner circle. Support IBInspectable\n* `animationDuration` - The duration of animation. Support IBInspectable\n* `progressLineWidth` - The width of inner circle, only for ProgressRingView. Support IBInspectable\n* `isShowPercentage` - Indicate whether percentage lable is displayed or not, only for ProgressRingView. Support IBInspectable\n* `percentageFontSize` - The font size of percentage label, only for ProgressRingView. Support IBInspectable\n* `percentageColor` - The color of percentage label, only for ProgressRingView. Support IBInspectable\n* `spacing` - The spacing of outer and inner circle, only for ProgressPieView. Support IBInspectable\n* `setProgress(_ progress: CGFloat, animated: Bool)` - The method to change progress with animation or not.\n\n## Contact\n\n- [Blog](http://blog.derekcoder.com)\n- [Twitter](https://twitter.com/derekcoder_)\n- [Weibo](https://weibo.com/u/6155322764)\n- Email: derekcoder@gmail.com\n\n## License\n\nSwiftProgressView is released under the MIT license. [See LICENSE](https://github.com/derekcoder/SwiftProgressView/blob/master/LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekcoder%2Fswiftprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderekcoder%2Fswiftprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekcoder%2Fswiftprogressview/lists"}