---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextinteraction/delegate
---

# delegate

The object that receives events from the text interaction.

## Declaration

```swift
weak var delegate: (any UITextInteractionDelegate)? { get set }
```

## See Also

### Handling text input and interaction events

- [textInput](uikit/uitextinteraction/textinput.md)
- [UITextInteractionDelegate](uikit/uitextinteractiondelegate.md)
