ZMSwiftRangeSlider

A simple Range Slider library by Swift.

ZMSwiftRangeSlider

Setup

Install with CocoaPods

platform :ios, '8.0'
pod 'ZMSwiftRangeSlider', '~> 0.1.5'
Ruby

Configuration

  • trackHeight
  • trackTintColor
  • trackHighlightTintColor
  • minValueThumbTintColor
  • maxValueThumbTintColor
  • thumbSize
  • thumbOutlineSize
  • displayTextFontSize

API

  • func setRangeValues(_ rangeValues: [Int])
  • func setMinAndMaxValue(_ minValue: Int, maxValue: Int)
  • func setValueChangedCallback(_ callback: ValueChangedCallback?)
  • func setMinValueDisplayTextGetter(_ getter: MinValueDisplayTextGetter?)
  • func setMaxValueDisplayTextGetter(_ getter: MaxValueDisplayTextGetter?)

GitHub

A simple Range Slider library by Swift.Read More

Latest commit to the master branch on 6-18-2020
Download as zip