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

35 lines
549 B
Markdown

---
title: TextView.setKeymanDelegate()
---
## Summary
The **`setKeymanDelegate()`** method sets the delegate.
## Syntax
```swift
TextView.setKeymanDelegate(keymanDelegate: TextViewDelegate)
```
### Parameter
`keymanDelegate`
: Keyman Delegate.
## Description
Use this TextViewDelegate instead of the normal UITextViewDelegate.
## Example
### Using `setKeymanDelegate()`
The following script illustrates the use of `setKeymanDelegate()`:
```swift
textView1 = TextView()
setTextViewStyle(textView1)
textView1.setKeymanDelegate(self)
```