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 |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.