CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

Slider2 0.1.1

Slider2 0.1.1

Maintained by karanokk.




Slider2 0.1.1

Slider2

A slider with two value controls.

Installation

Cocoapods

To integrate Slider2 into your Xcode project using CocoaPods, specify it in your Podfile:

pod "Slider2"

Carthage

To integrate Slider2 into your Xcode project using Carthage, specify it in your Cartfile:

github "karanokk/Slider2"

Swift Package Manager

Click "Files -> Swift Package Manager -> Add Package Dependency..." in Xcode's menu and search "https://github.com/karanokk/Slider2"

Usage

let slider = Slider2()
slider.minimumValue = 1
slider.maximumValue = 10
slider.value = 3
slider.value2 = 7
slider.addTarget(self, action: #selector(valueChanged(slider:)), for: .valueChanged)

Or working with storyboard

storyboard

Samples

You can find samples in Demo target.

record