---
title: itemWillExpandNotification
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsoutlineview/itemwillexpandnotification
---

# itemWillExpandNotification

Posted before an item is expanded (after the user clicks the arrow but before the item is collapsed).

## Declaration

```swift
class let itemWillExpandNotification: NSNotification.Name
```

## Discussion

Discussion The notification object is the outline view that contains an item about to be expanded. The userInfo dictionary contains the following information:  |   |  To observe this notification using Swift concurrency, use NSOutlineView.ItemWillExpandMessage.

## See Also

### Notifications

- [columnDidMoveNotification](appkit/nsoutlineview/columndidmovenotification.md)
- [columnDidResizeNotification](appkit/nsoutlineview/columndidresizenotification.md)
- [itemDidCollapseNotification](appkit/nsoutlineview/itemdidcollapsenotification.md)
- [itemDidExpandNotification](appkit/nsoutlineview/itemdidexpandnotification.md)
- [itemWillCollapseNotification](appkit/nsoutlineview/itemwillcollapsenotification.md)
- [selectionDidChangeNotification](appkit/nsoutlineview/selectiondidchangenotification.md)
- [selectionIsChangingNotification](appkit/nsoutlineview/selectionischangingnotification.md)
