{"id":18839711,"url":"https://github.com/maximbilan/swiftlyslider","last_synced_at":"2025-04-14T07:00:21.154Z","repository":{"id":62456830,"uuid":"60445181","full_name":"maximbilan/SwiftlySlider","owner":"maximbilan","description":"A simple iOS slider control","archived":false,"fork":false,"pushed_at":"2019-10-24T07:06:38.000Z","size":65,"stargazers_count":14,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T20:44:18.700Z","etag":null,"topics":["ios","slider","swift","ui","ui-components","ui-design","ui-kit"],"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/maximbilan.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":"2016-06-05T05:44:08.000Z","updated_at":"2023-11-06T02:26:26.000Z","dependencies_parsed_at":"2022-11-02T00:17:05.105Z","dependency_job_id":null,"html_url":"https://github.com/maximbilan/SwiftlySlider","commit_stats":null,"previous_names":["maximbilan/swiftlyvolumeslider"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSwiftlySlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSwiftlySlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSwiftlySlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSwiftlySlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximbilan","download_url":"https://codeload.github.com/maximbilan/SwiftlySlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837285,"owners_count":21169374,"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","slider","swift","ui","ui-components","ui-design","ui-kit"],"created_at":"2024-11-08T02:43:51.683Z","updated_at":"2025-04-14T07:00:21.102Z","avatar_url":"https://github.com/maximbilan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftlySlider\n\n[![Version](https://img.shields.io/cocoapods/v/SwiftlySlider.svg?style=flat)](http://cocoadocs.org/docsets/SwiftlySlider)\n[![License](https://img.shields.io/cocoapods/l/SwiftlySlider.svg?style=flat)](http://cocoadocs.org/docsets/SwiftlySlider)\n[![Platform](https://img.shields.io/cocoapods/p/SwiftlySlider.svg?style=flat)](http://cocoadocs.org/docsets/SwiftlySlider)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/SwiftlySlider.svg)](https://cocoapods.org/pods/SwiftlySlider)\n[![CocoaPods](https://img.shields.io/cocoapods/dm/SwiftlySlider.svg)](https://cocoapods.org/pods/SwiftlySlider)\n\nA simple iOS slider control.\n\n![alt tag](https://raw.github.com/maximbilan/SwiftlySlider/master/img/1.png)\n\n## Installation\n\u003cb\u003eCocoaPods\u003c/b\u003e:\n\u003cpre\u003e\npod 'SwiftlySlider'\n\u003c/pre\u003e\n\u003cb\u003eManual\u003c/b\u003e:\n\u003cpre\u003e\nJust copy the \u003ci\u003eSwiftlySlider.swift\u003c/i\u003e into your project.\n\u003c/pre\u003e\n\n## Using\n\nYou can create from \u003ci\u003eStoryboard\u003c/i\u003e or \u003ci\u003eXIB\u003c/i\u003e. Or create manually:\n\u003cpre\u003e\nlet slider = SwiftlySlider()\n\u003c/pre\u003e\n\nFor handling changing of values you should implement a protocol \u003ci\u003eSwiftlySliderDelegate\u003c/i\u003e:\n\n\u003cpre\u003e\nslider.delegate = self\n\nfunc swiftlySliderValueChanged(value: Int) {\n}\n\u003c/pre\u003e\n\nDirection:\n\u003cpre\u003e\npicker.direction = SwiftlySlider.PickerDirection.Horizontal // Vertical, Horizontal\n\u003c/pre\u003e\n\nAlso you can change the current value, the maximum value or the minimum value, for example:\n\u003cpre\u003e\npicker.currentValue = 0\npicker.maxValue     = 30\npicker.minValue     = 1\n\u003c/pre\u003e\n\nSlider settings:\n\n\u003cpre\u003e\nsliderImage       // Custom an image of the slider\nsliderImageOffset // A offset of the custom slider position\nsliderSize        // A size of the custom slider position\n\u003c/pre\u003e\n\nExample:\n\n\u003cpre\u003e\nslider.sliderImage = UIImage(named: \"CustomSlider\")\nslider.sliderImageOffset = CGPoint(x: 0, y: -1)\nslider.sliderSize = CGSize(width: 30, height: 15)\n\u003c/pre\u003e\n\nNormal indicator:\n\n\u003cpre\u003e\nuseNormalIndicator  // Use a normal indicator\nnormalValue         // A normal value\n\u003c/pre\u003e\n\nColor settings:\n\u003cpre\u003e\nlabelFontColor        // A font color of the moving label\nlabelBackgroundColor  // A background color of the moving label\nlabelFont             // A font of the moving label\nbgColor               // A background color\n\u003c/pre\u003e\n\nYou can easily found the example in this repository.\n\n## License\n\nSwiftlySlider 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%2Fmaximbilan%2Fswiftlyslider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximbilan%2Fswiftlyslider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbilan%2Fswiftlyslider/lists"}