UIPickerView

extension Reactive where Base: UIPickerView

The reactive extension can be accessed through the reactive instance property and the reactive static property.

  • Sets the selected row in the specified component, without animating the position.

    Declaration

    Swift

    public func selectedRow(inComponent component: Int) -> BindingTarget<Int>
  • Reloads all components

    Declaration

    Swift

    public var reloadAllComponents: BindingTarget<()>
  • Reloads the specified component

    Declaration

    Swift

    public var reloadComponent: BindingTarget<Int>
  • Create a signal which sends a value event for each row selection

    Declaration

    Swift

    public var selections: Signal<(row: Int, component: Int), NoError>

    Return Value

    A trigger signal.