UISlider

extension UISlider
  • A convenience method wrapping the .onValueChanged event type for UISlider.

    Declaration

    Swift

    @discardableResult
    public func onChange(handler: @escaping (_ value: Float) -> Void) -> Self

    Parameters

    handler

    The closure to be called on the valueChanged event

    Return Value

    itself so you can daisy chain the other event handler calls