Contents

NSToolbarItemValidation

Validation of a toolbar item.

Declaration

protocol NSToolbarItemValidation : NSObjectProtocol

Overview

A toolbar item with a valid target and action is enabled by default. To allow a toolbar item to be disabled in certain situations, a toolbar item’s target can implement the validateToolbarItem(_:) method.

Topics

Enabling and disabling toolbar items

See Also

View