---
title: delegate
framework: Notification Center
role: symbol
role_heading: Instance Property
platforms: [macOS 10.10+]
path: notificationcenter/ncwidgetlistviewcontroller/delegate
---

# delegate

The list view controller’s delegate or nil if the receiver doesn’t have a delegate.

## Declaration

```swift
@IBOutlet weak var delegate: (any NCWidgetListViewDelegate)? { get set }
```

## Discussion

Discussion A list view controller’s delegate provides a custom view controller for each object in contents. The delegate also performs editing-related functions, such as responding to interaction with an Add (+) button and reordering and removing rows. To learn about the methods the delegate can implement, see NCWidgetListViewDelegate.

## See Also

### Displaying and Editing List Content

- [NCWidgetListViewDelegate](notificationcenter/ncwidgetlistviewdelegate.md)
