You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
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 :)
The text was updated successfully, but these errors were encountered: