UIStepper

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

    Declaration

    Swift

    @discardableResult
    public func onChange(handler: @escaping (_ value: Double) -> 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