This method is called by the receiver’s toolbar during validation.
- macOS 10.0+
- Mac Catalyst 13.0+
You may invoke this method directly if you have disabled automatic validation for an item—typically you do this for performance reasons if your validation code is slow. For further discussion, see Validating Toolbar Items.