sharedCoercionHandler
アプリケーションの共有NSScriptCoercionHandlerを返します
解説
アプリケーションの共有NSScriptCoercionHandlerを返します。
返り値
( NSScriptCoercionHandler * )
引数
フレームワーク
Foundation
クラス
NSScriptCoercionHandler
Class Methods
使用可能
10.0
参照
例文
#import "Controller.h" //mi @implementation Controller - (IBAction)pushButton:(id)sender { id obj = [[NSScriptCoercionHandler sharedCoercionHandler] coerceValue:@"value" toClass:[NSTextStorage class]]; NSLog([obj className]); } @end