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;
|
|