IntervalSlider
IntervalSlider is a slider library like ReutersTV app. written in pure swift.
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
- iOS 8.0+
- Xcode 7
Installation
CocoaPods(iOS 8+)
IntervalSlider is available through CocoaPods. To install
it, simply add the following line to your Podfile:
use_frameworks!
pod "IntervalSlider"
Manual Installation
The class file required for IntervalSlider is located in the Classes folder in the root of this repository as listed below:
IntervalSlider.swift
Usage
Check out the demo project for details.
Customization
case MinimumTrackTintColor(UIColor)
case MinimumValue(Float)
case MaximumValue(Float)
case LabelBottomPadding(CGFloat)
case DefaultValue(Float)
case AddMark(Bool)
case ThumbImage(UIImage)