UITextField
extension Reactive where Base: UITextField
The reactive extension can be accessed through the reactive
instance property and the reactive
static property.
-
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.
Note
To observe text values that change on all editing events, seecontinuousTextValues
.Declaration
Swift
public var textValues: Signal<String?, NoError>
-
A signal of text values emitted by the text field upon any changes.
Note
To observe text values only when editing ends, seetextValues
.Declaration
Swift
public var continuousTextValues: Signal<String?, NoError>
-
Sets the attributed text of the text field.
Declaration
Swift
public var attributedText: BindingTarget<NSAttributedString?>
-
Sets the textColor of the text field.
Declaration
Swift
public var textColor: BindingTarget<UIColor>
-
A signal of attributed text values emitted by the text field upon end of editing.
Note
To observe attributed text values that change on all editing events, seecontinuousAttributedTextValues
.Declaration
Swift
public var attributedTextValues: Signal<NSAttributedString?, NoError>
-
A signal of attributed text values emitted by the text field upon any changes.
Note
To observe attributed text values only when editing ends, seeattributedTextValues
.Declaration
Swift
public var continuousAttributedTextValues: Signal<NSAttributedString?, NoError>
-
Sets the secure text entry attribute on the text field.
Declaration
Swift
public var isSecureTextEntry: BindingTarget<Bool>