May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSValidatedUserInterfaceItem — Mac OS X 10.0
Custom interface control objects may adopt this protocol to partake
in the Application Kit’s automated validation
mechanism. User interface validation works by having user interface
items, such as buttons or text fields, query the targets of their
action about whether or not they should be enabled. This protocol is
closely related to the
NSUserInterfaceItemValidations protocol, which
declares the method validateUserInterfaceItem: for
target objects to implement.
@protocol NSValidatedUserInterfaceItem
|
// Instance Methods
|
- (SEL)action;
|
- (int)tag;
|
@end |
Read now
Unlock full access