Skip to content

TrendingTechnology/ZMSwiftRangeSlider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZMSwiftRangeSlider

A simple Range Slider library by Swift.

Screenshot

ZMSwiftRangeSlider Screenshot

Setup

Install with CocoaPods

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

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?)

License

MIT

About

A simple Range Slider library by Swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 95.5%
  • Ruby 4.5%