UISegmentedControl

extension Reactive where Base: UISegmentedControl

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

  • Changes the selected segment of the segmented control.

    Declaration

    Swift

    public var selectedSegmentIndex: BindingTarget<Int>
  • A signal of indexes of selections emitted by the segmented control.

    Declaration

    Swift

    public var selectedSegmentIndexes: Signal<Int, NoError>