thehung111 / NHRangeSlider

A custom range slider in Swift
https://thehung111.github.io/NHRangeSlider/
MIT License
156 stars 45 forks source link

Problem accessing upperValue and lowerValue #8

Closed mding5692 closed 7 years ago

mding5692 commented 7 years ago

Hi there, I am making my own custom labels displaying upperValue and lowerValue when the sliderValueChanged method is called, except I can't get the changed upperValue and lowerValues

screen shot 2017-05-07 at 5 21 03 pm

^See above for my code

thehung111 commented 7 years ago

you can access the value via sliderView.rangeSlider!.upperValue . sliderView.upperValue is meant for writing, not reading. I will fix that later.