O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSUserInterfaceValidations — Mac OS X 10.0

Synopsis

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required