{"id":15026559,"url":"https://github.com/maxkonovalov/mkringprogressview","last_synced_at":"2025-05-15T12:02:52.366Z","repository":{"id":40633334,"uuid":"44754511","full_name":"maxkonovalov/MKRingProgressView","owner":"maxkonovalov","description":"⭕️ Ring progress view similar to Activity app on Apple Watch","archived":false,"fork":false,"pushed_at":"2023-05-04T21:46:36.000Z","size":1092,"stargazers_count":1574,"open_issues_count":8,"forks_count":139,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-05-15T05:51:11.483Z","etag":null,"topics":["activity","apple","circle","conical-gradient","gradient","ios","progress","progress-bar","progress-circle","progress-ring","progress-view","ring","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/maxkonovalov.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-10-22T15:26:51.000Z","updated_at":"2025-05-12T15:59:36.000Z","dependencies_parsed_at":"2024-04-24T11:00:45.126Z","dependency_job_id":"f630f7cb-3dae-4bde-8829-a33a1598d5ab","html_url":"https://github.com/maxkonovalov/MKRingProgressView","commit_stats":{"total_commits":89,"total_committers":14,"mean_commits":6.357142857142857,"dds":0.3033707865168539,"last_synced_commit":"660888aab1d2ab0ed7eb9eb53caec12af4955fa7"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkonovalov%2FMKRingProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkonovalov%2FMKRingProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkonovalov%2FMKRingProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkonovalov%2FMKRingProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxkonovalov","download_url":"https://codeload.github.com/maxkonovalov/MKRingProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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":["activity","apple","circle","conical-gradient","gradient","ios","progress","progress-bar","progress-circle","progress-ring","progress-view","ring","swift"],"created_at":"2024-09-24T20:04:41.630Z","updated_at":"2025-05-15T12:02:52.326Z","avatar_url":"https://github.com/maxkonovalov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MKRingProgressView\n\n[![Language](http://img.shields.io/badge/language-swift-orange.svg?style=flat)](https://developer.apple.com/swift)\n[![Platform](https://img.shields.io/cocoapods/p/MKRingProgressView.svg?style=flat)](http://cocoapods.org/pods/MKRingProgressView)\n[![License](https://img.shields.io/cocoapods/l/MKRingProgressView.svg?style=flat)](http://cocoapods.org/pods/MKRingProgressView)\n[![Version](https://img.shields.io/cocoapods/v/MKRingProgressView.svg?style=flat)](http://cocoapods.org/pods/MKRingProgressView)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SPM compatible](https://img.shields.io/badge/Swift_Package_Manager-compatible-brightgreen.svg?style=flat)](https://swift.org/package-manager)\n\n\nRing progress view similar to Activity app on Apple Watch\n\n\u003cimg src=\"MKRingProgressView.png\" alt=\"MKRingProgressView\" width=375\u003e\n\n## Features\n\n- Progress animation\n- Customizable start/end and backdrop ring colors\n- Customizable ring width\n- Customizable progress line end style\n- Customizable shadow under progress line end\n- Progress values above 100% (or 360°) can also be displayed\n\n## Installation\n\n### CocoaPods\n\nTo install `MKRingProgressView` via [CocoaPods](http://cocoapods.org), add the following line to your Podfile:\n\n```\npod 'MKRingProgressView'\n```\n\n### Carthage\n\nTo install `MKRingProgressView` via [Carthage](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos), add the following line to your Cartfile:\n\n```\ngithub \"maxkonovalov/MKRingProgressView\"\n```\n\n### Swift Package Manager\n\n_Note: Instructions below are for using **SwiftPM** without the Xcode UI. It's the easiest to go to your Project Settings -\u003e Swift Packages and add MKRingProgressView from there._\n\nTo integrate using Apple's Swift package manager, without Xcode integration, add the following as a dependency to your `Package.swift`:\n\n```swift\n.package(url: \"https://github.com/maxkonovalov/MKRingProgressView.git\", .upToNextMajor(from: \"2.3.0\"))\n```\n\n## Usage\n\nSee the example Xcode project. It contains 2 targets:\n- **ProgressRingExample** - a simple example containing a single progress ring with adjustable parameters.\n- **ActivityRingsExample** - an advanced usage example replicating Activity app by Apple. It also contains additional classes for convenient grouping of 3 ring progress views together.\n\n### Interface Builder\n\n`MKRingProgressView` can be set up in Interface Builder. To use it, set the custom view class to `MKRingProgressView`. Most of the control's parameters can be customized in Interface Builder.\n\n### Code\n\n```swift\nlet ringProgressView = RingProgressView(frame: CGRect(x: 0, y: 100, width: 100, height: 100))\nringProgressView.startColor = .red\nringProgressView.endColor = .magenta\nringProgressView.ringWidth = 25\nringProgressView.progress = 0.0\nview.addSubview(ringProgressView)\n```\n\nThe `progress` value can be animated the same way you would normally animate any property using `UIView`'s block-based animations: \n\n```swift\nUIView.animate(withDuration: 0.5) {\n    ringProgressView.progress = 1.0\n}\n```\n\n## Performance\n\nTo achieve better performance the following options are possible:\n\n- Set `gradientImageScale` to lower values like `0.5` (defaults to `1.0`)\n- Set `startColor` and `endColor` to the same value\n- Set `shadowOpacity` to `0.0`\n- Set `allowsAntialiasing` to `false`\n\n## Requirements\n\n- iOS 9.0\n- tvOS 9.0\n\n## License\n\n`MKRingProgressView` 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%2Fmaxkonovalov%2Fmkringprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxkonovalov%2Fmkringprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkonovalov%2Fmkringprogressview/lists"}