SwiftRangeSlider
SwiftRangeSlider copied to clipboard
How do we know the current selected Knob?
Hello Brian! This is a very good pod btw! Im using this pod regularly in my project.
Anyway there is something I want to ask, In @IBAction func rangeSliderValueChanged(_ sender: Any), how do we know the current selected Knob?
I'm about to change the step according to the current selected Knob value. If it's getting higher than the step also get higher. if it's getting lower than the step getting more precision.
example: if rangeSlider.lowerValue < 1000000.0 { rangeSlider.stepValue = 10000.0 } else if rangeSlider.lowerValue < 1000000.0 { rangeSlider.stepValue = 100000.0 } else { rangeSlider.stepValue = 1000000 } but in that case, it only handle the lowerValue.
Thank you :)
Hello
I have similar requirement - Can I get current selected Knob?
Thanks