{"id":20073319,"url":"https://github.com/1691665955/mzcircleprogress","last_synced_at":"2026-06-08T12:03:39.400Z","repository":{"id":62447371,"uuid":"439518655","full_name":"1691665955/MZCircleProgress","owner":"1691665955","description":"圆形进度条、弧形进度条","archived":false,"fork":false,"pushed_at":"2021-12-29T07:08:30.000Z","size":980,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-15T02:46:07.546Z","etag":null,"topics":["circle","circleprogress","ios","progress","swift"],"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/1691665955.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":"2021-12-18T03:30:33.000Z","updated_at":"2023-07-10T14:28:23.000Z","dependencies_parsed_at":"2022-11-01T23:33:53.263Z","dependency_job_id":null,"html_url":"https://github.com/1691665955/MZCircleProgress","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1691665955%2FMZCircleProgress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1691665955%2FMZCircleProgress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1691665955%2FMZCircleProgress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1691665955%2FMZCircleProgress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1691665955","download_url":"https://codeload.github.com/1691665955/MZCircleProgress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241504050,"owners_count":19973170,"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","circleprogress","ios","progress","swift"],"created_at":"2024-11-13T14:44:52.887Z","updated_at":"2026-06-08T12:03:39.321Z","avatar_url":"https://github.com/1691665955.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MZCircleProgress\n圆形进度条、弧形进度条\n\n\u003cdiv align=center\u003e\n\u003cimg src=\"1.gif\" width=\"300px\" /\u003e\n\u003c/div\u003e\n\n#### Cocoapods 引入\n```\npod 'MZCircleProgress', '~\u003e 0.0.1'\n```\n\n#### 使用\n```\nlet circleProgress = MZCircleProgress(frame: CGRect(x: 50, y: 100, width: 200, height: 200))\n// 底条颜色\ncircleProgress.backLineColor = .red\n// 底条宽度\ncircleProgress.backLineWidth = 10\n// 进度条颜色\ncircleProgress.progressColor = .orange\n// 进度条宽度\ncircleProgress.progressWidth = 10\n// 中间文本框属性、可设置文字、文字颜色、字体\ncircleProgress.textLabel.textColor = .orange\ncircleProgress.textLabel.text = \"10\"\n// 开始弧度\ncircleProgress.startAngle = CGFloat(-Double.pi / 4 * 5)\n// 结束弧度\ncircleProgress.endAngle = CGFloat(Double.pi / 4)\n// 进度比例（0～1）,可通过控制ratio来实现进度动画\ncircleProgress.ratio = 0.7\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1691665955%2Fmzcircleprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1691665955%2Fmzcircleprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1691665955%2Fmzcircleprogress/lists"}