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

# delegate

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

## Declaration

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

## Discussion

Discussion The delegate must adopt the UICollectionViewDelegate protocol. The delegate object is responsible for managing selection behavior and interactions with individual items.

## See Also

### Managing collection view interactions

- [UICollectionViewDelegate](uikit/uicollectionviewdelegate.md)
