NSMenuValidation

This informal protocol allows your application to update the enabled or disabled status of an NSMenuItem object. It declares only one method, validateMenuItem(_:).

Symbols

Validating Menu Items

func validateMenuItem(NSMenuItem)

Implemented to override the default action of enabling or disabling a specific menu item.