UIBarButtonItem

extension Reactive where Base: UIBarButtonItem

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

  • The action to be triggered when the button is pressed. It also controls the enabled state of the button.

    Declaration

    Swift

    public var pressed: CocoaAction<Base>?