Instance Method

validateUserInterfaceItem:

Validates the specified user interface item that the receiver manages.

Declaration

- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item;

Parameters

anItem

The user interface item to validate.

Return Value

YES if the item is valid; otherwise, NO.

Discussion

These items currently include only Revert and Save. You can override this method to add more selectors validated by your document subclass.