Contents

itemChanged(_:)

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

Declaration

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.

See Also

Adding and Removing Menu Items