{"id":13485386,"url":"https://github.com/SimformSolutionsPvtLtd/SSCircularSlider","last_synced_at":"2025-03-27T19:31:05.225Z","repository":{"id":49752515,"uuid":"152379518","full_name":"SimformSolutionsPvtLtd/SSCircularSlider","owner":"SimformSolutionsPvtLtd","description":"A simple, powerful and fully customizable circular slider, written in swift. ","archived":false,"fork":false,"pushed_at":"2022-09-22T11:34:54.000Z","size":2819,"stargazers_count":39,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-01T21:01:54.630Z","etag":null,"topics":["circular","slider","slider-control"],"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/SimformSolutionsPvtLtd.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":"2018-10-10T07:16:09.000Z","updated_at":"2024-06-26T09:43:47.000Z","dependencies_parsed_at":"2022-09-08T06:41:52.920Z","dependency_job_id":null,"html_url":"https://github.com/SimformSolutionsPvtLtd/SSCircularSlider","commit_stats":null,"previous_names":["simformsolutions/sscircularslider"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCircularSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCircularSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCircularSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCircularSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimformSolutionsPvtLtd","download_url":"https://codeload.github.com/SimformSolutionsPvtLtd/SSCircularSlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245910749,"owners_count":20692497,"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":["circular","slider","slider-control"],"created_at":"2024-07-31T18:00:21.293Z","updated_at":"2025-03-27T19:31:04.825Z","avatar_url":"https://github.com/SimformSolutionsPvtLtd.png","language":"Swift","readme":"# SSCircularSlider\r\n\r\n\r\nA simple and powerful circular ring slider, written in swift and fully customizable.\r\n\r\n[![Swift Version][swift-image]][swift-url]\r\n[![Build Status][travis-image]][travis-url]\r\n[![License][license-image]][license-url]\r\n[![Platform][platform-image]][platform-url]\r\n[![PRs Welcome][PR-image]][PR-url]\r\n\r\n![Alt text](https://github.com/simformsolutions/SSCircularSlider/blob/master/CircularSliderDemo.gif)\r\n\r\n# Features!\r\n  - Circular ring slider\r\n  - Customizable slider color\r\n  - Customizable slider knob\r\n  - Customizable sider end point buttons\r\n  - Adjust slider by editing center label\r\n  - Dynammic values of slider\r\n  - CocoaPods\r\n\r\n# Requirements\r\n  - iOS 10.0+\r\n  - Xcode 9+\r\n\r\n# Installation\r\n **CocoaPods**\r\n \r\n- You can use CocoaPods to install SSSpinnerButton by adding it to your Podfile:\r\n\r\n       use_frameworks!\r\n       pod 'SSCircularSlider'\r\n\r\n-  \r\n       import UIKit\r\n       import SSCircularSlider\r\n\r\n**Manually**\r\n-   Download and drop **SSCircularSlider** folder in your project.\r\n-   Congratulations you are done with installation!\r\n\r\n# Usage example\r\n\r\n-   In the storyboard add a UIView and change its class to SSCircularSlider\r\n   ![Alt text](https://github.com/simformsolutions/SSCircularSlider/blob/master/CircularRingSiderStoryBoard.png)\r\n   \r\n    **SetValues**\r\n        \r\n        let arrValues: [Int] = [Int](0...30)\r\n        circularRingSlider.setArrayValues(labelValues: arrValues, currentIndex: indexOfValue)\r\n    \r\n    **SetInitialValue**\r\n        \r\n        let arrValues: [Int] = [Int](0...30)\r\n        indexOfValue = 0\r\n        circularRingSlider.setValues(initialValue: arrValues[indexOfValue].toCGFloat(), minValue: arrValues[0].toCGFloat(), maxValue: arrValues[arrValues.count-1].toCGFloat())\r\n    \r\n    **SetKnobImage**\r\n    \r\n        circularRingSlider.setKnobOfSlider(knobSize: 40, knonbImage: UIImage(named: \"iconKnobRed\")!)\r\n        \r\n    **SetTextFieldDelegate**\r\n    \r\n        circularRingSlider.setValueTextFieldDelegate(viewController: self)\r\n    \r\n    **SetRingWidth**\r\n        \r\n        circularRingSlider.setCircularRingWidth(innerRingWidth: 18, outerRingWidth: 18)\r\n        \r\n    **SetBackgroundColorOfAllButtons**\r\n    \r\n        circularRingSlider.setBackgroundColorOfAllButtons(startPointColor: UIColor.red, endPointColor: UIColor.lightGray, knobColor: UIColor.white)\r\n        \r\n    **SetEndPointImages**\r\n        \r\n        circularRingSlider.setEndPointsImage(startPointImage: iconMinus, endPointImage: iconPlus)\r\n        \r\n    **SetProgressLayerColor(Gradient Colors)**\r\n        \r\n        circularRingSlider.setProgressLayerColor(colors: [UIColor.red.cgColor, UIColor.red.cgColor])\r\n        \r\n    **SetCircularSliderDelegate**\r\n        \r\n        extension ViewController: SSCircularRingSliderDelegate {\r\n            func controlValueUpdated(value: Int) {\r\n                print(\"current control value:\\(value)\")\r\n                // Your code here\r\n            }\r\n        }\r\n\r\n#  Contribute\r\n-   We would love you for the contribution to SSCircularSlider, check the LICENSE file for more info.\r\n \r\n#  Meta\r\n-    Distributed under the MIT license. See LICENSE for more information.\r\n\r\n    \r\n[swift-image]:https://img.shields.io/badge/swift-5.0-orange.svg\r\n[swift-url]: https://swift.org/\r\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\r\n[license-url]: LICENSE\r\n[travis-image]: https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square\r\n[travis-url]: https://travis-ci.org/dbader/node-datadog-metrics\r\n[codebeat-image]: https://codebeat.co/assets/svg/badges/C-ffb83f-7198e9a1b7ad7f73977b0c9a5c7c3fffbfa25f262510e5681fd8f5a3188216b0.svg\r\n[codebeat-url]: https://codebeat.co/projects/github-com-vsouza-awesomeios-com\r\n[platform-image]:https://img.shields.io/cocoapods/p/LFAlertController.svg?style=flat\r\n[platform-url]:http://cocoapods.org/pods/LFAlertController\r\n[cocoa-image]:https://img.shields.io/cocoapods/v/EZSwiftExtensions.svg\r\n[cocoa-url]:https://img.shields.io/cocoapods/v/LFAlertController.svg\r\n[PR-image]:https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\r\n[PR-url]:http://makeapullrequest.com\r\n","funding_links":[],"categories":["iOS","iOS Guides"],"sub_categories":["Swift"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSCircularSlider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSimformSolutionsPvtLtd%2FSSCircularSlider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSCircularSlider/lists"}