<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSplitView/didResizeSubviewsNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSSplitViewDidResizeSubviewsNotification"
  },
  "title" : "didResizeSubviewsNotification"
}
-->

# didResizeSubviewsNotification

A notification that posts after a change to the size of some or all subviews of a split view.

```
class let didResizeSubviewsNotification: NSNotification.Name
```

## Discussion

The notification object consists of the [`NSSplitView`](/documentation/AppKit/NSSplitView) that has resized its subviews.

The <doc://com.apple.documentation/documentation/Foundation/Notification/userInfo> dictionary includes the `NSSplitViewDividerIndex` key that contains the index of the divider that the split view or the user moves. If the system sends the notification because the user drags a divider, the dictionary also includes the `NSSplitViewUserResizeKey` key with a value of `1`.

To observe this notification using Swift concurrency, use [`NSSplitView.DidResizeSubviewsMessage`](/documentation/AppKit/NSSplitView/DidResizeSubviewsMessage).

---

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)