FieldInputLayout

@objcMembers open class FieldInputLayout: FieldLayout

Class for a FieldInput-based Layout.

  • The current text value that should be used when rendering this layout. This value is automatically set to self.fieldInput.text on initialization and whenever self.fieldInput.text is updated. However, it can be set to any value outside of these calls (e.g. for temporary input purposes).

    Declaration

    Swift

    open var currentTextValue: String
  • Updates self.fieldInput from the given value. If the value was changed, the layout tree is updated to reflect the change.

    Declaration

    Swift

    open func updateText(_ text: String)