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

# delegate

The delegate of the scroll view.

## Declaration

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

## Discussion

Discussion The delegate must adopt the UIScrollViewDelegate protocol. The UIScrollView class, which doesn’t retain the delegate, invokes each protocol method the delegate implements.

## See Also

### Responding to scroll view interactions

- [UIScrollViewDelegate](uikit/uiscrollviewdelegate.md)
