spiegel-keyman/ios/docs/engine/TextField/setKeymanDelegate.md
2024-10-31 10:13:00 +07:00

33 lines
557 B
Markdown

---
title: TextField.setKeymanDelegate()
---
## Summary
The **`setKeymanDelegate()`** method sets the delegate.
## Syntax
```swift
TextField.setKeymanDelegate(keymanDelegate: TextFieldDelegate)
```
### Parameter
`keymanDelegate`
: Keyman Delegate.
## Description
Use this TextFieldDelegate instead of the normal UITextFieldDelegate.
## Example
### Using `setKeymanDelegate()`
The following script illustrates the use of `setKeymanDelegate()`:
```swift
textField1 = TextField()
setTextFieldStyle(textField1)
textField1.setKeymanDelegate(self)
```