Slider
@available(iOS 9.0, *)
public class Slider : UISlider
A UISlider that handles its change event
-
Creates a UISlider
Declaration
Swift
public init( value: Float, from: Float, to: Float, valueChangedHandler: ((Float) -> Void)? = nil )Parameters
valueInitial value of the slider
fromMinimum value of the slider
toMaximum value of the slider
valueChangedHandlerClosure for the the slider’s change event (Default: nil)
View on GitHub
Slider Class Reference