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

# selectionDidChangeNotification

Posted after the outline view’s selection changes.

```
class let selectionDidChangeNotification: NSNotification.Name
```

## Discussion

The notification object is the outline view whose selection changed. This notification does not contain a `userInfo` dictionary.

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

---

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)