--- title: TextField class --- ## Summary The TextField class provides a UITextField to use with Keyman Engine. ## Syntax ```swift TextField.methodName() ``` ## Description The viewController should be set to main view controller to enable keyboard picker. ## Methods [`dismissKeyboard()`](dismissKeyboard) : dismisses the keyboard if this textview is the first responder. `inputView` : gets or sets the input view. [`setKeymanDelegate()`](setKeymanDelegate) : sets the TextFieldDelegate instead of the normal UITextFieldDelegate. `text` : gets or sets the text string.