{"id":2764,"url":"https://github.com/rehatkathuria/SnappingSlider","last_synced_at":"2025-08-03T12:31:02.983Z","repository":{"id":30790611,"uuid":"34347587","full_name":"rehatkathuria/SnappingSlider","owner":"rehatkathuria","description":"A beautiful slider control for iOS built purely upon Swift","archived":true,"fork":false,"pushed_at":"2018-06-26T14:23:55.000Z","size":13,"stargazers_count":576,"open_issues_count":2,"forks_count":24,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-12-06T22:26:16.396Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rehatkathuria.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-04-21T19:24:24.000Z","updated_at":"2024-06-23T15:35:37.000Z","dependencies_parsed_at":"2022-09-08T16:12:25.536Z","dependency_job_id":null,"html_url":"https://github.com/rehatkathuria/SnappingSlider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehatkathuria%2FSnappingSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehatkathuria%2FSnappingSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehatkathuria%2FSnappingSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehatkathuria%2FSnappingSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehatkathuria","download_url":"https://codeload.github.com/rehatkathuria/SnappingSlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543082,"owners_count":17934423,"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:22.215Z","updated_at":"2024-12-07T00:30:50.693Z","avatar_url":"https://github.com/rehatkathuria.png","language":"Swift","readme":"# SnappingSlider\n\nA beautiful slider control for iOS.\n\n\u003ch3 align=\"center\"\u003e\n  \u003cimg src=\"http://i.imgur.com/D6IsT2r.gif\" alt=\"Look at that beauty!\" /\u003e\n\u003c/h3\u003e\n\n## Installation\nThere are two ways to add the control to your project; you can add it as a submodule if you're using GIT as a versioning system or you can install it through CocoaPods. Examples of both are outlined below.\n\n`git submodule add https://github.com/rehatkathuria/SnappingSlider`\n\n`pod \"SnappingSlider\"`\n\n## Usage\nIt's simple, really. In essence, all you need to do is instantiate a slider with a title and conform to the delegate offered.\n\n```swift\nlet slider = SnappingSlider(frame: CGRectMake(0.0, 0.0, 10.0, 10.0), title: \"Slide Me\")\nslider.delegate = self\n\nmyAwesomeViewController.view.addSubView = slider\n\n\n...\n\n\nfunc snappingSliderDidIncrementValue(snapSwitch: SnappingSlider) {\n\n}\n\nfunc snappingSliderDidDecrementValue(snapSwitch: SnappingSlider) {\n\n}\n```\n\n## Author\nThis control has been open-sourced by [Rehat Kathuria](http://kthr.co). You can follow him on twitter, [here](http://twitter.com/rhtkth), and hire him for freelance projects, [here](mailto:rehat@kathuria.co).\n    \n## License \u0026 Other Boring Stuff\nLicensed under MIT. If you use the control somewhere, [do let me know](http://twitter.com/rehatkat). I'd love to see it out in the wild.\n","funding_links":[],"categories":["UI"],"sub_categories":["Slider","Layout","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehatkathuria%2FSnappingSlider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frehatkathuria%2FSnappingSlider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehatkathuria%2FSnappingSlider/lists"}