Latest 0.1.7
Homepage https://github.com/nanjingboy/ZMSwiftRangeSlider
License MIT
Platforms ios 8.0, requires ARC
Authors

A simple Range Slider library by Swift.

Screenshot

ZMSwiftRangeSlider Screenshot

Setup

Install with CocoaPods

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

Example

Configuration

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

API

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

License

MIT

Latest podspec

{
    "name": "ZMSwiftRangeSlider",
    "version": "0.1.7",
    "summary": "A simple Range Slider library by Swift.",
    "homepage": "https://github.com/nanjingboy/ZMSwiftRangeSlider",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tom.Huang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/nanjingboy/ZMSwiftRangeSlider.git",
        "tag": "0.1.7"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Source/*.swift"
}

Pin It on Pinterest

Share This