---
title: "splitViewDidResizeSubviews(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nssplitviewdelegate/splitviewdidresizesubviews(_:)"
---

# splitViewDidResizeSubviews(_:)

Notifies the delegate when the split view resizes its subviews.

## Declaration

```swift
@MainActor optional func splitViewDidResizeSubviews(_ notification: Notification)
```

## Parameters

- `notification`: A notification named doc://com.apple.appkit/documentation/AppKit/NSSplitView/didResizeSubviewsNotification, which posts after a change to the size of some or all subviews of a split view.

## Discussion

Discussion If the delegate implements this method, the system automatically registers it to receive this notification. The default notification center invokes this method after the split view resizes two of its subviews in response to the repositioning of a divider.

## See Also

### Managing Subviews

- [splitViewWillResizeSubviews(_:)](appkit/nssplitviewdelegate/splitviewwillresizesubviews(_:).md)
- [splitView(_:canCollapseSubview:)](appkit/nssplitviewdelegate/splitview(_:cancollapsesubview:).md)
- [splitView(_:shouldCollapseSubview:forDoubleClickOnDividerAt:)](appkit/nssplitviewdelegate/splitview(_:shouldcollapsesubview:fordoubleclickondividerat:).md)
