Reactive

Undocumented

  • Sets whether the control is enabled.

    Declaration

    Swift

    public var isEnabled: BindingTarget<Bool>
  • Sets the value of the control with an NSAttributedString.

    Declaration

    Swift

    public var attributedStringValue: BindingTarget<NSAttributedString>
  • A signal of values in NSAttributedString, emitted by the control.

    Declaration

    Swift

    public var attributedStringValues: Signal<NSAttributedString, NoError>
  • Sets the value of the control with a Bool.

    Declaration

    Swift

    public var boolValue: BindingTarget<Bool>
  • A signal of values in Bool, emitted by the control.

    Declaration

    Swift

    public var boolValues: Signal<Bool, NoError>
  • Sets the value of the control with a Double.

    Declaration

    Swift

    public var doubleValue: BindingTarget<Double>
  • A signal of values in Double, emitted by the control.

    Declaration

    Swift

    public var doubleValues: Signal<Double, NoError>
  • Sets the value of the control with a Float.

    Declaration

    Swift

    public var floatValue: BindingTarget<Float>
  • A signal of values in Float, emitted by the control.

    Declaration

    Swift

    public var floatValues: Signal<Float, NoError>
  • Sets the value of the control with an Int32.

    Declaration

    Swift

    public var intValue: BindingTarget<Int32>
  • A signal of values in Int32, emitted by the control.

    Declaration

    Swift

    public var intValues: Signal<Int32, NoError>
  • Sets the value of the control with an Int.

    Declaration

    Swift

    public var integerValue: BindingTarget<Int>
  • A signal of values in Int, emitted by the control.

    Declaration

    Swift

    public var integerValues: Signal<Int, NoError>
  • Sets the value of the control.

    Declaration

    Swift

    public var objectValue: BindingTarget<Any?>
  • A signal of values in Any?, emitted by the control.

    Declaration

    Swift

    public var objectValues: Signal<Any?, NoError>
  • Sets the value of the control with a String.

    Declaration

    Swift

    public var stringValue: BindingTarget<String>
  • A signal of values in String, emitted by the control.

    Declaration

    Swift

    public var stringValues: Signal<String, NoError>
  • Create a signal which sends a next event at the end of every invocation of selector on the object.

    • parameters:

      • selector: The selector to observe.

    Declaration

    Swift

    public func trigger(for selector: Selector) -> Signal<(), NoError>

    Parameters

    selector

    The selector to observe.

    Return Value

    A trigger signal.

  • Create a producer which sends the current value and all the subsequent changes of the property specified by the key path.

    The producer completes when the object deinitializes.

    • parameters:

      • keyPath: The key path of the property to be observed.

    Declaration

    Swift

    public func values(forKeyPath keyPath: String) -> SignalProducer<Any?, NoError>

    Parameters

    keyPath

    The key path of the property to be observed.

    Return Value

    A producer emitting values of the property specified by the key path.

  • Returns a lifetime that ends when the object is deallocated.

    Declaration

    Swift

    @nonobjc public var lifetime: Lifetime
  • A signal of values in String from the text field upon any changes.

    Declaration

    Swift

    public var continuousStringValues: Signal<String, NoError>
  • A signal of values in NSAttributedString from the text field upon any changes.

    Declaration

    Swift

    public var continuousAttributedStringValues: Signal<NSAttributedString, NoError>
  • Sets whether the activity indicator should be animating.

    Declaration

    Swift

    public var isAnimating: BindingTarget<Bool>
  • 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>?
  • Sets whether the bar item is enabled.

    Declaration

    Swift

    public var isEnabled: BindingTarget<Bool>
  • 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>?
  • Sets the title of the button for its normal state.

    Declaration

    Swift

    public var title: BindingTarget<String>
  • Sets the title of the button for the specified state.

    Declaration

    Swift

    public func title(for state: UIControlState) -> BindingTarget<String>
  • Create a signal which sends a next event for each of the specified control events.

    • parameters:

      • controlEvents: The control event mask.

    Declaration

    Swift

    public func trigger(for controlEvents: UIControlEvents) -> Signal<(), NoError>

    Parameters

    controlEvents

    The control event mask.

    Return Value

    A trigger signal.

  • Sets whether the control is enabled.

    Declaration

    Swift

    public var isEnabled: BindingTarget<Bool>
  • Sets whether the control is selected.

    Declaration

    Swift

    public var isSelected: BindingTarget<Bool>
  • Sets whether the control is highlighted.

    Declaration

    Swift

    public var isHighlighted: BindingTarget<Bool>
  • Sets the date of the date picker.

    Declaration

    Swift

    public var date: BindingTarget<Date>
  • A signal of dates emitted by the date picker.

    Declaration

    Swift

    public var dates: Signal<Date, NoError>
  • Sets the image of the image view.

    Declaration

    Swift

    public var image: BindingTarget<UIImage?>
  • Sets the image of the image view for its highlighted state.

    Declaration

    Swift

    public var highlightedImage: BindingTarget<UIImage?>
  • Sets the text of the label.

    Declaration

    Swift

    public var text: BindingTarget<String?>
  • Sets the attributed text of the label.

    Declaration

    Swift

    public var attributedText: BindingTarget<NSAttributedString?>
  • Sets the color of the text of the label.

    Declaration

    Swift

    public var textColor: BindingTarget<UIColor>
  • Sets the relative progress to be reflected by the progress view.

    Declaration

    Swift

    public var progress: BindingTarget<Float>
  • 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>
  • Sets the on-off state of the switch.

    Declaration

    Swift

    public var isOn: BindingTarget<Bool>
  • A signal of on-off states in Bool emitted by the switch.

    Declaration

    Swift

    public var isOnValues: Signal<Bool, NoError>
  • Sets the text of the text field.

    Declaration

    Swift

    public var text: BindingTarget<String?>
  • A signal of text values emitted by the text field upon end of editing.

    Declaration

    Swift

    public var textValues: Signal<String?, NoError>
  • A signal of text values emitted by the text field upon any changes.

    Declaration

    Swift

    public var continuousTextValues: Signal<String?, NoError>
  • Sets the text of the text view.

    Declaration

    Swift

    public var text: BindingTarget<String>
  • A signal of text values emitted by the text view upon end of editing.

    Declaration

    Swift

    public var textValues: Signal<String, NoError>
  • A signal of text values emitted by the text view upon any changes.

    Declaration

    Swift

    public var continuousTextValues: Signal<String, NoError>
  • Sets the alpha value of the view.

    Declaration

    Swift

    public var alpha: BindingTarget<CGFloat>
  • Sets whether the view is hidden.

    Declaration

    Swift

    public var isHidden: BindingTarget<Bool>
  • Sets whether the view accepts user interactions.

    Declaration

    Swift

    public var isUserInteractionEnabled: BindingTarget<Bool>