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

# delegate

The object that acts as the delegate of the table view.

## Declaration

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

## Discussion

Discussion The delegate must adopt the UITableViewDelegate protocol. The delegate isn’t retained.

## See Also

### Related Documentation

- [dataSource](uikit/uitableview/datasource.md)

### Managing interactions with the table

- [UITableViewDelegate](uikit/uitableviewdelegate.md)
