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

# didSendActionNotification

Posted just after the application dispatches a menu item’s action method to the menu item’s target.

```
class let didSendActionNotification: NSNotification.Name
```

## Discussion

The notification object is the instance of `NSMenu` containing the chosen menu item. The `userInfo` dictionary contains the following information.

|Key          |Value                         |
|-------------|------------------------------|
|`@"MenuItem"`|The menu item that was chosen.|

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

---

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)