Instance Method インスタンスメソッド

coerceValue:forKey:

Uses type info from the class description and NSScriptCoercionHandler to attempt to convert value for key to the proper type, if necessary.

Declaration 宣言

- (id)coerceValue:(id)value 
           forKey:(NSString *)key;

Discussion 解説

The method coerceValueFor<Key>: is used if it exists.