{"id":2143,"url":"https://github.com/kciter/HorizontalDial","last_synced_at":"2025-08-06T15:30:45.004Z","repository":{"id":35313006,"uuid":"39574483","full_name":"kciter/HorizontalDial","owner":"kciter","description":"A horizontal scroll dial like Instagram.","archived":false,"fork":false,"pushed_at":"2019-06-14T06:16:07.000Z","size":33081,"stargazers_count":212,"open_issues_count":3,"forks_count":15,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-22T04:21:31.277Z","etag":null,"topics":[],"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/kciter.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":"2015-07-23T15:13:41.000Z","updated_at":"2024-02-20T06:18:00.000Z","dependencies_parsed_at":"2022-09-12T21:14:14.200Z","dependency_job_id":null,"html_url":"https://github.com/kciter/HorizontalDial","commit_stats":null,"previous_names":["kciter/kchorizontaldial","kciter/kcjogdial"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2FHorizontalDial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2FHorizontalDial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2FHorizontalDial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2FHorizontalDial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kciter","download_url":"https://codeload.github.com/kciter/HorizontalDial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228915462,"owners_count":17991409,"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":"2024-01-05T20:16:05.796Z","updated_at":"2024-12-09T15:30:51.844Z","avatar_url":"https://github.com/kciter.png","language":"Swift","funding_links":["https://paypal.me/kciter"],"categories":["Libs","UI","UI [🔝](#readme)"],"sub_categories":["UI","Other free courses","Font","Other Testing"],"readme":"# HorizontalDial\n![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg)\n[![Version](https://img.shields.io/cocoapods/v/HorizontalDial.svg?style=flat)](http://cocoapods.org/pods/kchorizontaldial)\n[![License](https://img.shields.io/cocoapods/l/HorizontalDial.svg?style=flat)](http://cocoapods.org/pods/kchorizontaldial)\n[![Platform](https://img.shields.io/cocoapods/p/HorizontalDial.svg?style=flat)](http://cocoapods.org/pods/kchorizontaldial)\n\n## Preview\n\u003cimg src=\"https://github.com/kciter/HorizontalDial/raw/master/Images/preview.gif\" alt=\"Preview gif\"\u003e\n\n## Requirements\n* iOS 8.0+\n* Swift 5\n\n## Storyboard support\n\u003cimg src=\"https://github.com/kciter/HorizontalDial/raw/master/Images/storyboard.png\" width=\"50%\" alt=\"Storyboard Screenshot\"\u003e\n\n## Installation\n\n### CocoaPods\n```ruby\nuse_frameworks!\npod \"HorizontalDial\"\n```\n### Manually\nTo install manually the HorizontalDial in an app, just drag the `HorizontalDial.swift` file into your project.\n\n## Properties\n| Property | Type | Description |\n|---|---|---|\n|`enableRange` | `Bool` | Use range mode |\n|`minimumValue` | `Double` | Acceptable minimum value |\n|`maximumValue` | `Double` | Acceptable maximum value |\n|`value` | `Double` | Value |\n|`tick` | `Double` | Increase value |\n|`centerMarkColor` | `UIColor` | Set center mark color |\n|`centerMarkWidth` | `CGFloat` | Set center mark width |\n|`centerMarkHeightRatio` | `CGFloat` | Set center mark height |\n|`centerMarkRadius` | `CGFloat` | Set center mark radius |\n|`markColor` | `UIColor` | Set mark color |\n|`markWidth` | `CGFloat` | Set mark width |\n|`markRadius` | `CGFloat` | Set mark radius |\n|`markCount` | `Int` | The number of mark in view |\n|`padding` | `Double` | Vertical offset from bottom in landscape mode |\n|`verticalAlign` | `String` | Vertical Align as `top`, `middle`, `bottom` |\n|`lock` | `Bool` | User input lock |\n\n## Protocols\n| Protocol | Description |\n|---|---|\n|`horizontalDialWillBeginScroll(horizontalDial: HorizontalDial)` | This method is called whenever the HorizontalDial will begin an animated scroll. |\n|`horizontalDialDidEndScroll(horizontalDial: HorizontalDial)` | This method is called whenever the HorizontalDial will ends an animated scroll. |\n|`horizontalDialWillValueChanged(horizontalDial: HorizontalDial)` | This method is called whenever the HorizontalDial will value changed. |\n|`horizontalDialDidValueChanged(horizontalDial: HorizontalDial)` | This method is called whenever the HorizontalDial did value changed. |\n\n## TODO\n* Code refactoring\n* Optimizing UI performance\n* Add `clipsToRange` property\n* Add `unit` property\n\n## Donate\nIf you like this open source, you can sponsor it. :smile:\n\n[Paypal me](https://paypal.me/kciter)\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Lee Sun-Hyoup\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkciter%2FHorizontalDial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkciter%2FHorizontalDial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkciter%2FHorizontalDial/lists"}