completes
ユーザーのテキスト入力が終わっているかを返します
解説
ユーザーのテキスト入力が終わっているかを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSComboBox
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" NSTimer *timer=nil; @implementation MyObject - (IBAction)myAction:(id)sender { id aSignature ; id invocation ; SEL aSelector ; aSelector = @selector( timerControl ); aSignature = [ self methodSignatureForSelector:aSelector ]; invocation = [ NSInvocation invocationWithMethodSignature:aSignature ]; [ invocation setTarget: self ]; [ invocation setSelector: aSelector ]; [ invocation invoke ]; timer = [NSTimer scheduledTimerWithTimeInterval:1 invocation:invocation repeats:YES]; } - (IBAction)setComp:(id)sender { [myOutlet setCompletes:YES]; [[myOutlet window] display]; } -(void) timerControl{ ([myOutlet completes])?NSLog(@"YES"):NSLog(@"NO"); } @end