Instance Method

update()

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.

Declaration

func update()

Discussion

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.