{"id":2768,"url":"https://github.com/HamzaGhazouani/HGCircularSlider","last_synced_at":"2025-08-06T15:30:38.004Z","repository":{"id":37549809,"uuid":"73131897","full_name":"HamzaGhazouani/HGCircularSlider","owner":"HamzaGhazouani","description":"A custom reusable circular / progress slider control for iOS application.","archived":false,"fork":false,"pushed_at":"2024-08-13T07:12:04.000Z","size":17310,"stargazers_count":2594,"open_issues_count":23,"forks_count":277,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-10-29T17:57:17.991Z","etag":null,"topics":["circle","circular","clock","ios","progress","progress-bar","progress-circle","slider","slider-range","swift","timer"],"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/HamzaGhazouani.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"HamzaGhazouani"}},"created_at":"2016-11-07T23:58:30.000Z","updated_at":"2024-10-26T06:14:41.000Z","dependencies_parsed_at":"2024-11-08T20:39:07.723Z","dependency_job_id":null,"html_url":"https://github.com/HamzaGhazouani/HGCircularSlider","commit_stats":{"total_commits":92,"total_committers":10,"mean_commits":9.2,"dds":0.3913043478260869,"last_synced_commit":"2906c33e3101468a892f274c689ea0679f792037"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGCircularSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGCircularSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGCircularSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGCircularSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HamzaGhazouani","download_url":"https://codeload.github.com/HamzaGhazouani/HGCircularSlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228673673,"owners_count":17955199,"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","circular","clock","ios","progress","progress-bar","progress-circle","slider","slider-range","swift","timer"],"created_at":"2024-01-05T20:16:22.324Z","updated_at":"2024-12-09T15:30:52.523Z","avatar_url":"https://github.com/HamzaGhazouani.png","language":"Swift","funding_links":["https://github.com/sponsors/HamzaGhazouani"],"categories":["UI","Libs","Swift","UI [🔝](#readme)","OOM-Leaks-Crash","Content"],"sub_categories":["Slider","UI","Layout","Other free courses"],"readme":"# HGCircularSlider\n\n[![Backers on Open Collective](https://opencollective.com/HGCircularSlider/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/HGCircularSlider/sponsors/badge.svg)](#sponsors) [![Twitter: @GhazouaniHamza](https://img.shields.io/badge/contact-@GhazouaniHamza-blue.svg?style=flat)](https://twitter.com/GhazouaniHamza)\n[![CI Status](http://img.shields.io/travis/HamzaGhazouani/HGCircularSlider.svg?style=flat)](https://travis-ci.org/HamzaGhazouani/HGCircularSlider)\n[![Version](https://img.shields.io/cocoapods/v/HGCircularSlider.svg?style=flat)](http://cocoapods.org/pods/HGCircularSlider)\n[![License](https://img.shields.io/cocoapods/l/HGCircularSlider.svg?style=flat)](http://cocoapods.org/pods/HGCircularSlider)\n[![Language](https://img.shields.io/badge/language-Swift-orange.svg?style=flat)]()\n[![Platform](https://img.shields.io/cocoapods/p/HGCircularSlider.svg?style=flat)](http://cocoapods.org/pods/HGCircularSlider)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\u003cbr /\u003e\n\n[![codebeat badge](https://codebeat.co/badges/c4db03f5-903a-4b0e-84bb-98362fc5bd7a)](https://codebeat.co/projects/github-com-hamzaghazouani-hgcircularslider)\n[![Documentation](https://img.shields.io/cocoapods/metrics/doc-percent/HGCircularSlider.svg)](http://cocoadocs.org/docsets/HGCircularSlider/)\n[![Readme Score](http://readme-score-api.herokuapp.com/score.svg?url=https://github.com/hamzaghazouani/hgcircularslider/)](http://clayallsopp.github.io/readme-score?url=https://github.com/hamzaghazouani/hgcircularslider/tree/develop)\n\n## Example\n\n![](/Screenshots/Bedtime.gif) ![](/Screenshots/Player.gif) ![](/Screenshots/OClock.gif) ![](/Screenshots/Other.gif) ![](/Screenshots/Circular.gif)\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## You also may like\n\n* **[HGPlaceholders](https://github.com/HamzaGhazouani/HGPlaceholders)** - Nice library to show placeholders for any UITableView in your project\n* **[HGRippleRadarView](https://github.com/HamzaGhazouani/HGRippleRadarView)** - A beautiful radar view to show nearby users with ripple animation, fully customizable\n\n## Requirements\n\n- iOS 9.0+\n- Xcode 11.4\n\n## Installation\n\nHGCircularSlider is also available through [Swift Package Manager](https://swift.org/package-manager/)\n\nFollow this [doc](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app?language=swift).\n\nHGCircularSlider is also available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n``` ruby\npod 'HGCircularSlider', '~\u003e 2.2.1'\n```\n\nHGCircularSlider is also available through [Carthage](https://github.com/Carthage/Carthage). To install\nit, simply add the following line to your Cartfile:\n\n\n``` ruby\ngithub \"HamzaGhazouani/HGCircularSlider\"\n```\n\n## Usage\n\n1. Change the class of a view from UIView to CircularSlider, RangeCircularSlider or MidPointCircularSlider\n2. Programmatically:\n\n```swift\nlet circularSlider = CircularSlider(frame: myFrame)\ncircularSlider.minimumValue = 0.0\ncircularSlider.maximumValue = 1.0\ncircularSlider.endPointValue = 0.2\n```\nOR\n```swift\nlet circularSlider = RangeCircularSlider(frame: myFrame)\ncircularSlider.startThumbImage = UIImage(named: \"Bedtime\")\ncircularSlider.endThumbImage = UIImage(named: \"Wake\")\n\nlet dayInSeconds = 24 * 60 * 60\ncircularSlider.maximumValue = CGFloat(dayInSeconds)\n\ncircularSlider.startPointValue = 1 * 60 * 60\ncircularSlider.endPointValue = 8 * 60 * 60\ncircularSlider.numberOfRounds = 2 // Two rotations for full 24h range\n```\nOR\n```swift\nlet circularSlider = MidPointCircularSlider(frame: myFrame)\ncircularSlider.minimumValue = 0.0\ncircularSlider.maximumValue = 10.0\ncircularSlider.distance = 1.0\ncircularSlider.midPointValue = 5.0\n```\n##### If you would like to use it like a progress view \n```\nlet progressView = CircularSlider(frame: myFrame)\nprogressView.minimumValue = 0.0\nprogressView.maximumValue = 1.0\nprogressView.endPointValue = 0.2 // the progress \nprogressView.userInteractionEnabled = false \n// to remove padding, for more details see issue #25\nprogressView.thumbLineWidth = 0.0\nprogressView.thumbRadius = 0.0\n```\n\n## Documentation\nFull documentation is available on [CocoaDocs](http://cocoadocs.org/docsets/HGCircularSlider/).\u003cbr/\u003e\nYou can also install documentation locally using [jazzy](https://github.com/realm/jazzy).\n\n## References\nThe UI examples of the demo project inspired from [Dribbble](https://dribbble.com).\n\n[Player](https://dribbble.com/shots/3062636-Countdown-Timer-Daily-UI-014) \u003cbr/\u003e\n[BasicExample](https://dribbble.com/shots/2153963-Dompet-Wallet-App)\u003cbr/\u003e\n[OClock](https://dribbble.com/shots/2671286-Clock-Alarm-app)\u003cbr/\u003e\n\nThe project is Inspired by [UICircularSlider](https://github.com/Zedenem/UICircularSlider)\n\n## Author\n\nHamza Ghazouani, hamza.ghazouani@gmail.com\n\n## License\n\nHGCircularSlider 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%2FHamzaGhazouani%2FHGCircularSlider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHamzaGhazouani%2FHGCircularSlider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHamzaGhazouani%2FHGCircularSlider/lists"}