DekGenius.com
[ Team LiB ] Previous Section Next Section

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.

figs/cocn_1393.gif

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

    [ Team LiB ] Previous Section Next Section