TomThorpe / TTRangeSlider

A slider, similar in style to UISlider, but which allows you to pick a minimum and maximum range.
MIT License
968 stars 204 forks source link

TTRangeSliderDelegate It not Working #86

Closed erishiraj closed 5 years ago

erishiraj commented 6 years ago

How to get Min Max Value at the Sliding time please help me I have to try this by using below code but it's never called...

public func rangeSlider(_ sender: TTRangeSlider!, didChangeSelectedMinimumValue selectedMinimum: Float, andMaximumValue selectedMaximum: Float) {
print(selectedMinimum)
print(selectedMaximum)
// updateLabelsValues(selectedMinimum, max: selectedMaximum)
}

And I have Also Extent my class by TTRangeSliderDelegate

Thanks in Advance.

redcapua commented 5 years ago

@erishiraj

Hi!

maxValue and minValue are properties of sender object.

TomThorpe commented 5 years ago

Thanks @redcapua!