Instance Method


Enables or disables the menu items of the menu based on the NSMenuValidation informal protocol and sizes the menu to fit its current menu items if necessary.


func update()


For more information, see NSMenuValidation.

See Also

Enabling and Disabling Menu Items

var autoenablesItems: Bool

Indicates whether the menu automatically enables and disables its menu items.