TextView

open class TextView<Row> : View<Row>, UITextFieldDelegate where Row : TextRowType

TextView defines a view that has a text field

Version

1.8.0

Date

04/05/22

Author

Adamas
  • Set the accessory view of the text field

    Declaration

    Swift

    public var inputTextFieldAccessoryView: UIView? { get set }
  • Get the current text on the screen

    Declaration

    Swift

    public var text: String? { get }
  • Set the theme of the text view

    Declaration

    Swift

    public var theme: TextViewThemeType?
  • Display an external hint immediately

    Declaration

    Swift

    public func setExternalHint(_ hint: String)

    Parameters

    hint

    The hint message

  • Reset the view to the normal state

    Declaration

    Swift

    public func reset()
  • Undocumented

    Declaration

    Swift

    @discardableResult
    open override func becomeFirstResponder() -> Bool
  • Declaration

    Swift

    open override func configure(with row: RowType)
  • Undocumented

    Declaration

    Swift

    public func textFieldDidEndEditing(_: UITextField)
  • Undocumented

    Declaration

    Swift

    public func textFieldShouldReturn(_: UITextField) -> Bool
  • Undocumented

    Declaration

    Swift

    public func textField(_ textField: UITextField,
                          shouldChangeCharactersIn range: NSRange,
                          replacementString: String) -> Bool
  • Undocumented

    Declaration

    Swift

    public func textFieldDidBeginEditing(_: UITextField)