May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSScriptCoercionHandler — Mac OS X 10.0
This class is used by Cocoa’s scripting system to translate one scripting data type into another data type, which is a common task in key-value coding operations.
|
|
@interface NSScriptCoercionHandler : NSObject
|
// Class Methods
|
+ (NSScriptCoercionHandler *)sharedCoercionHandler;
|
// Instance Methods
|
- (id)coerceValue:(id)value toClass:(Class)toClass; |
- (void)registerCoercer:(id)coercer selector:(SEL)selector toConvertFromClass:(Class)fromClass toClass:(Class)toClass; |
Read now
Unlock full access