Reactive

struct Reactive<Base>
  • Set whether the constant is active or not in its hierarchy.

    Declaration

    Swift

    public var isActive: BindingTarget<Bool> { get }
  • Update the textAlignment property of the label with an animation.

    Declaration

    Swift

    public var textAlignment: BindingTarget<NSTextAlignment> { get }
  • Update the title property of the receiver.

    Declaration

    Swift

    public var title: BindingTarget<String?> { get }
  • Perform a segue with the specified identifier and sender.

    Declaration

    Swift

    public var performSegue: BindingTarget<(String, Any?)> { get }
  • Deprecated: Use subview.reactive.isHidden <~ <Binding Source> instead. Add/remove/modify the order of the arranged subviews by specified the subview.

    Declaration

    Swift

    @available(*, deprecated, message: "Use `subview.reactive.isHidden <~ <Binding Source>` instead")
    public func isArranged(_ subview: UIView, at index: Int) -> BindingTarget<Bool>
  • Show/hide the back button, optionally with an animation.

    Declaration

    Swift

    public func hidesBackButton(animated: Bool) -> BindingTarget<Bool>
  • Show/hide the right bar button item, optionally with an animation.

    Declaration

    Swift

    public func rightBarButtonItem(animated: Bool) -> BindingTarget<UIBarButtonItem?>
  • Show/hide the right bar button items, optionally with an animation.

    Declaration

    Swift

    public func rightBarButtonItems(animated: Bool) -> BindingTarget<[UIBarButtonItem]>
  • Show/hide the left bar button item, optionally with an animation.

    Declaration

    Swift

    public func leftBarButtonItem(animated: Bool) -> BindingTarget<UIBarButtonItem?>
  • Show/hide the left bar button items, optionally with an animation.

    Declaration

    Swift

    public func leftBarButtonItems(animated: Bool) -> BindingTarget<[UIBarButtonItem]>
  • Show/hide the right bar button item without any animations.

    Declaration

    Swift

    public var rightBarButtonItem: BindingTarget<UIBarButtonItem?> { get }
  • Show/hide the right bar button items without any animations.

    Declaration

    Swift

    public var rightBarButtonItems: BindingTarget<[UIBarButtonItem]> { get }
  • Show/hide the left bar button item without any animations.

    Declaration

    Swift

    public var leftBarButtonItem: BindingTarget<UIBarButtonItem?> { get }
  • Show/hide the left bar button items without any animations.

    Declaration

    Swift

    public var leftBarButtonItems: BindingTarget<[UIBarButtonItem]> { get }
  • Deprecated: Use Lifetime.of(<object>) instead Get the lifetime associated with the instance.

    Declaration

    Swift

    @available(*, deprecated, renamed: "Lifetime.of(﹚")
    public var lifetime: Lifetime { get }