NSUserInterfaceValidations

NSUserInterfaceValidations Mac OS X 10.0

This protocol, in conjunction with NSValidatedUserInterfaceItem, declares methods that classes implement to provide user interface object validation. This protocol declares the single method validateUserInterfaceItem:, which enables or disables interface objects based on the return value.

@protocol NSUserInterfaceValidations
 // Instance Methods
   - (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)anItem;
@end



    Part II: API Quick Reference
    Chapter 13. Foundation Classes