applicationDidFinishLaunching:
アプリケーションが起動し終わった時に呼ばれます
-(void)applicationDidFinishLaunching:(NSNotification *)aNotification:
解説
アプリケーションが起動し終わった時に呼ばれます。
通知(aNotification)は常にNSApplicationDidFinishLaunchingNotificationです。
デリゲートメソッド
返り値
( void )
なし
引数
( NSNotification * )aNotification
通知NSApplicationDidFinishLaunchingNotification
フレームワーク
ApplicationKit
クラス
NSApplication
Instance Methods
使用可能
10.0
参照
- finishLaunching
- applicationDidBecomeActive:
例文
#import "Controller.h" @implementation Controller - (BOOL)applicationDidFinishLaunching:(NSNotification *)aNotification { [info setStringValue:@"applicationDidFinishLaunching"]; NSLog([aNotification description]); return YES; } @end