{"id":21092376,"url":"https://github.com/ripperhe/zyprogressview","last_synced_at":"2025-06-29T07:33:23.617Z","repository":{"id":56931355,"uuid":"78197533","full_name":"ripperhe/ZYProgressView","owner":"ripperhe","description":"直线进度条、圆形进度条 ","archived":false,"fork":false,"pushed_at":"2020-02-10T08:44:13.000Z","size":29,"stargazers_count":21,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T05:37:56.936Z","etag":null,"topics":["circle","ios","objective-c","progress"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/ripperhe.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-01-06T10:29:12.000Z","updated_at":"2024-12-25T05:28:25.000Z","dependencies_parsed_at":"2022-08-21T05:50:28.255Z","dependency_job_id":null,"html_url":"https://github.com/ripperhe/ZYProgressView","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ripperhe/ZYProgressView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripperhe%2FZYProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripperhe%2FZYProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripperhe%2FZYProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripperhe%2FZYProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripperhe","download_url":"https://codeload.github.com/ripperhe/ZYProgressView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripperhe%2FZYProgressView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262557217,"owners_count":23328262,"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":["circle","ios","objective-c","progress"],"created_at":"2024-11-19T21:53:47.651Z","updated_at":"2025-06-29T07:33:23.573Z","avatar_url":"https://github.com/ripperhe.png","language":"Objective-C","readme":"# ZYProgressView\n\n[![Version](https://img.shields.io/cocoapods/v/ZYProgressView.svg?style=flat)](http://cocoapods.org/pods/ZYProgressView)\n[![License](https://img.shields.io/cocoapods/l/ZYProgressView.svg?style=flat)](http://cocoapods.org/pods/ZYProgressView)\n[![Platform](https://img.shields.io/cocoapods/p/ZYProgressView.svg?style=flat)](http://cocoapods.org/pods/ZYProgressView)\n\n## Snapshot\n\n![](https://raw.githubusercontent.com/ripperhe/oss/master/2017/0327/lineprogressview.png) ![](https://raw.githubusercontent.com/ripperhe/oss/master/2017/0327/circleprogressview.png)\n\n## Example\n\nTo run the example project, clone the repo, and run directory.\n\n## Requirements\n\n`iOS 8.0` or later\n\n## Installation\n\nZYProgressView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"ZYProgressView\"\n```\n\n## Useage\n\n### Line\n\n#### 初始化\n\n```objc\nZYLineProgressView *progressView = [[ZYLineProgressView alloc] initWithFrame:CGRectMake(20, 150, 200, 6)];\n\n```\n\n#### 更新进度\n\n```objc\nprogressView.progress = 0.8;\n```\n\n#### 更新配置\n\n```objc\n[progressView updateConfig:^(ZYLineProgressViewConfig *config) {\n\tconfig.isShowDot = YES;\n}];\n```\n\n### Circle\n\n#### 初始化\n\n```objc\nZYCircleProgressView *progressView = [[ZYCircleProgressView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];\n```\n\n#### 更新进度\n\n```objc\nprogressView.progress = 0.3;\n```\n\n#### 更新配置\n\n```objc\n[progressView updateConfig:^(ZYCircleProgressViewConfig *config) {\n\tconfig.lineWidth = 3;\n\tconfig.lineCap = kCALineCapSquare;\n\tconfig.startAngle = - (M_PI + M_PI_4);\n\tconfig.endAngle = M_PI_4;\n}];\n```\n\n## Author\n\nripper, ripperhe@qq.com\n\n## License\n\nZYProgressView is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripperhe%2Fzyprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripperhe%2Fzyprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripperhe%2Fzyprogressview/lists"}