<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSplitViewDelegate/splitViewWillResizeSubviews(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSSplitViewDelegate(im)splitViewWillResizeSubviews:"
  },
  "title" : "splitViewWillResizeSubviews(_:)"
}
-->

# splitViewWillResizeSubviews(_:)

Notifies the delegate when the split view is about to resize its subviews.

```
@MainActor optional func splitViewWillResizeSubviews(_ notification: Notification)
```

## Parameters

`notification`

A notification named [`willResizeSubviewsNotification`](/documentation/AppKit/NSSplitView/willResizeSubviewsNotification), which posts before a change to the size of some or all subviews of a split view.

## Discussion

If the delegate implements this method, the system automatically registers it to receive this notification.

The default notification center invokes this method before the split view resizes two of its subviews in response to the repositioning of a divider.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)