---
title: delegate
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsoutlineview/delegate
---

# delegate

The outline view’s delegate.

## Declaration

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

## Discussion

Discussion The delegate must conform to the NSOutlineViewDelegate protocol. Note that in versions of macOS prior to v10.12, the table view did not retain the delegate in a managed memory environment.
