control:didFailToFormatString:errorDescription:
**
-(BOOL)control:(NSControl *)control: didFailToFormatString:(NSString *)string: errorDescription:(NSString *)error:
解説
呼び出されます。デリゲートでの実装。
返り値
( BOOL )
YES/NO
引数
( NSControl * )control
( NSString * )string
( NSString * )error
フレームワーク
ApplicationKit
クラス
NSControl
Instance Methods
使用可能
10.0
参照
-getObjectValue:forString:errorDescription: (NSFormatter)
例文
-(BOOL)control:(NSControl *)control didFailToFormatString:(NSString *)string errorDescription:(NSString *)error { NSLog(@"didFailToFormatString"); return [super control:control didFailToFormatString:string errorDescription:error]; }