{"id":24335440,"url":"https://github.com/kkla320/gaugeprogressviewstyle","last_synced_at":"2025-07-07T02:02:07.447Z","repository":{"id":40514145,"uuid":"410518861","full_name":"kkla320/GaugeProgressViewStyle","owner":"kkla320","description":"GaugeProgressViewStyle adds the Apple Watch gauge view to iOS.","archived":false,"fork":false,"pushed_at":"2022-07-26T08:51:11.000Z","size":1009,"stargazers_count":37,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-12-30T22:41:39.602Z","etag":null,"topics":["ios","swift","swiftui"],"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/kkla320.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-09-26T10:21:20.000Z","updated_at":"2024-11-26T10:20:53.000Z","dependencies_parsed_at":"2022-08-31T21:01:50.615Z","dependency_job_id":null,"html_url":"https://github.com/kkla320/GaugeProgressViewStyle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkla320%2FGaugeProgressViewStyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkla320%2FGaugeProgressViewStyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkla320%2FGaugeProgressViewStyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkla320%2FGaugeProgressViewStyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkla320","download_url":"https://codeload.github.com/kkla320/GaugeProgressViewStyle/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234465802,"owners_count":18838016,"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","swift","swiftui"],"created_at":"2025-01-18T05:17:29.667Z","updated_at":"2025-01-18T05:17:31.876Z","avatar_url":"https://github.com/kkla320.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](logo.png)\n\n[![Swift](https://github.com/kkla320/GaugeProgressViewStyle/actions/workflows/swift.yml/badge.svg?branch=develop\u0026event=push)](https://github.com/kkla320/GaugeProgressViewStyle/actions/workflows/swift.yml) ![](https://img.shields.io/badge/Swift-5.5-orange) ![](https://img.shields.io/badge/spm-compatible-green)\n\nGaugeProgressViewStyle adds the Apple Watch gauge view to iOS.\n\n## Installation\n\nTo install GaugeProgressViewStyle, add GaugeProgressViewStyle as a dependency to your Package.swift file.\n\n```swift\n.package(url: \"https://github.com/kkla320/GaugeView.git\", from: \"1.0.0\")\n```\n\n## Usage\n\nSimply use the `progressViewStyle` method of `ProgressView` and pass the GaugeProgressViewStyle via one of the static members named `gauge`.\nPlease have a look in the [wiki](https://github.com/kkla320/GaugeProgressViewStyle/wiki) for detailed documentation.\n\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003cth\u003eCode\u003c/th\u003e\n  \u003cth\u003eResult\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\n\n  ```swift\n  ProgressView(value: 0)\n    .progressViewStyle(.gauge())\n  ```\n\n  \u003c/td\u003e\n  \u003ctd\u003e\n  \n  ![No parameters](Screenshots/sample_withoutParameters.png)\n  \n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\n\n  ```swift\n  ProgressView(value: 0.5)\n    .progressViewStyle(.gauge(thickness: 20))\n  ```\n\n  \u003c/td\u003e\n  \u003ctd\u003e\n  \n  ![Custom thickness](Screenshots/sample_withCustomThickness.png)\n  \n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\n\n  ```swift\n  ProgressView(value: 0.5) {\n      Text(\"Gauge\")\n  }\n  .progressViewStyle(.gauge())\n  ```\n\n  \u003c/td\u003e\n  \u003ctd\u003e\n  \n  ![With label](Screenshots/sample_withLabel.png)\n  \n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\n\n  ```swift\n  ProgressView(value: 0.5)\n    .progressViewStyle(\n        .gauge {\n            Text(\"12\")\n        } upperLabel: {\n            Text(\"24\")\n        }\n    )\n  ```\n\n  \u003c/td\u003e\n  \u003ctd\u003e\n  \n  ![With upper lower labels](Screenshots/sample_withTextUpperAndLowerLabel.png)\n  \n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\n\n  ```swift\n  ProgressView(value: 0.5)\n    .progressViewStyle(\n        .gauge {\n            Image(systemName: \"sun.max.fill\")\n        } upperLabel: {\n            Image(systemName: \"cloud.rain.fill\")\n        }\n    )\n  ```\n\n  \u003c/td\u003e\n  \u003ctd\u003e\n  \n  ![With upper lower images](Screenshots/sample_withImageUpperAndLowerLabel.png)\n  \n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Requirements\n\n- Swift 5.5\n- iOS 14 and above\n\n## Contributing\n\nSimply create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkla320%2Fgaugeprogressviewstyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkla320%2Fgaugeprogressviewstyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkla320%2Fgaugeprogressviewstyle/lists"}