validateUserInterfaceItem(_:)
Validates the specified user interface item that the receiver manages.
Declaration
@MainActor func validateUserInterfaceItem(_ item: any NSValidatedUserInterfaceItem) -> BoolParameters
- item:
The user interface item to validate.
Return Value
Discussion
These items currently include only Revert and Save. You can override this method to add more selectors validated by your document subclass.