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

# itemChanged(_:)

Invoked when a menu item is modified visually (for example, its title changes).

```
func itemChanged(_ item: NSMenuItem)
```

## Parameters

`item`

The menu item that has visually changed.

## Discussion

This method is not called for changes involving the menu item’s action, target, represented object, or tag. Posts an [`didChangeItemNotification`](/documentation/AppKit/NSMenu/didChangeItemNotification).

---

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)