Popularity
5.6
Stable
Activity
0.0
Stable
576
10
26

Code Quality Rank: L3
Programming language: Swift
License: MIT License
Tags: UI    
Latest version: v1.0

SnappingSlider alternatives and similar libraries

Based on the "UI" category.
Alternatively, view SnappingSlider alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SnappingSlider or a related project?

Add another 'UI' Library

README

SnappingSlider

A beautiful slider control for iOS.

Installation

There 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.

git submodule add https://github.com/rehatkathuria/SnappingSlider

pod "SnappingSlider"

Usage

It's simple, really. In essence, all you need to do is instantiate a slider with a title and conform to the delegate offered.

let slider = SnappingSlider(frame: CGRectMake(0.0, 0.0, 10.0, 10.0), title: "Slide Me")
slider.delegate = self

myAwesomeViewController.view.addSubView = slider


...


func snappingSliderDidIncrementValue(snapSwitch: SnappingSlider) {

}

func snappingSliderDidDecrementValue(snapSwitch: SnappingSlider) {

}

Author

This control has been open-sourced by Rehat Kathuria. You can follow him on twitter, here, and hire him for freelance projects, here.

License & Other Boring Stuff

Licensed under MIT. If you use the control somewhere, do let me know. I'd love to see it out in the wild.


*Note that all licence references and agreements mentioned in the SnappingSlider README section above are relevant to that project's source code only.