RangeUISliderDelegate
@objc
public protocol RangeUISliderDelegate
Protocol used delegate the read of the RangeUISlider data. Multiple RangeUISlider instance could use the same delegate. The current slider (on which the user is tapping) is returned in all the methods (so that could be identified on the delegate class).
-
Calls the delegate when the user has started the change of the range.
Declaration
Swift
@objc optional func rangeChangeStarted() -
Calls the delegate when the user is changing the range by moving the knobs.
Declaration
Swift
@objc optional func rangeIsChanging(minValueSelected: CGFloat, maxValueSelected: CGFloat, slider: RangeUISlider)Parameters
minValueSelectedthe minimum value selected.
maxValueSelectedthe maximum value selected.
sliderthe slider on which the range has been modified.
-
Calls the delegate when the user has finished the change of the range.
Declaration
Swift
@objc func rangeChangeFinished(minValueSelected: CGFloat, maxValueSelected: CGFloat, slider: RangeUISlider)Parameters
minValueSelectedthe minimum value selected.
maxValueSelectedthe maximum value selected.
sliderthe slider on which the range has been modified.
View on GitHub
RangeUISliderDelegate Protocol Reference