{"id":27949388,"url":"https://github.com/durul/haloprogressbar","last_synced_at":"2025-05-07T15:27:21.600Z","repository":{"id":291646822,"uuid":"978309738","full_name":"durul/HaloProgressBar","owner":"durul","description":"A fully SwiftUI-native, customizable, and animated circular progress bar.","archived":false,"fork":false,"pushed_at":"2025-05-05T19:39:27.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T20:44:18.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/durul.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-05T19:37:26.000Z","updated_at":"2025-05-05T19:39:30.000Z","dependencies_parsed_at":"2025-05-05T20:55:01.061Z","dependency_job_id":null,"html_url":"https://github.com/durul/HaloProgressBar","commit_stats":null,"previous_names":["durul/haloprogressbar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durul%2FHaloProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durul%2FHaloProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durul%2FHaloProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durul%2FHaloProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/durul","download_url":"https://codeload.github.com/durul/HaloProgressBar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252904666,"owners_count":21822653,"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":[],"created_at":"2025-05-07T15:27:21.013Z","updated_at":"2025-05-07T15:27:21.574Z","avatar_url":"https://github.com/durul.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HaloProgress\n\nA fully SwiftUI-native, customizable, and animated circular progress bar.\n\n\n\n![Simulator Screenshot - iPhone 16 - 2025-05-05 at 15 32 24](https://github.com/user-attachments/assets/f2d7f85e-0d00-4476-b3f8-6a56852b096a)\n\n\n\n\n## 🚀 Features\n\n- 100% SwiftUI – no UIKit dependency\n- Smooth animation with value binding\n- Multiple appearance styles:\n  - `overlaysEmptyLine`\n  - `aboveEmptyLine`\n  - `underEmptyLine`\n- Fully customizable:\n  - Line width\n  - Colors\n  - Font\n  - Max value\n  - Show/hide progress label\n\n# Why HaloProgressBar\n\nSwift Charts currently does not directly support circular/radial progress bars.\n\n⸻\n\n📊 Swift Charts and Circular Visualization\n\nApple's Swift Charts framework (iOS 16+, macOS 13+) primarily supports Cartesian-based 2D data visualization types like bar, line, area, and point charts. It supports the following:\n\n| Feature                   | Swift Charts | Description           |\n| ------------------------- | ------------ | --------------------- |\n| Bar Chart                 | ✅           | Vertical / horizontal |\n| Line Chart                | ✅           | Time series           |\n| Area Chart                | ✅           | Filled area           |\n| Scatter Chart             | ✅           | Point-based           |\n| Pie Chart                 | ❌           | Not supported         |\n| Circular Progress / Gauge | ❌           | Not supported         |\n\n⸻\n\n🌀 What Kinds of Circular Solutions Exist?\n\n| Method                                 | Circular View | SwiftUI Implementation                        |\n| -------------------------------------- | ------------- | --------------------------------------------- |\n| Shape + trim + rotationEffect          | ✅            | Our implemented solution                      |\n| Canvas / Path                          | ✅            | Lower-level drawing                           |\n| Gauge (iOS 16+)                        | ⚠️            | Only iOS 16+, supports linear and semi-circle |\n| 3rd-party chart library (e.g., Charts) | ✅            | Mixed UIKit/SwiftUI, complex                  |\n\n⸻\n\n🔎 Summary\n\nSwift Charts:\n* 🎯 Great for data series\n* 🚫 But does not support circular indicators, progress bars, or pie charts\n\nMy # HaloProgress solution:\n* ✅ 100% compatible with SwiftUI\n* ✅ Full circular progress control\n* ✅ Customization for animation, gradient, text, visuals\n\n⸻\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurul%2Fhaloprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdurul%2Fhaloprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurul%2Fhaloprogressbar/lists"}