最終更新:2009-10-04 (日) 08:25:39 (5684d)
NSApplication
Top / NSApplication
NSApplication* app; //デリゲート -(void)applicationDidFinishLaunching:(NSNotification*)nofitication
デリゲート メソッド
-(BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key -(BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename -(void)application:(NSApplication *)sender openFiles:(NSArray *)filenames -(BOOL)application:(id)sender openFileWithoutUI:(NSString *)filename -(BOOL)application:(NSApplication *)theApplication openTempFile:(NSString *)filename -(BOOL)application:(NSApplication *)theApplication printFile:(NSString *)filename -(NSApplicationPrintReply)application:(NSApplication *)application printFiles:(NSArray *)fileNames withSettings:(NSDictionary *)printSettings showPrintPanels:(BOOL)showPrintPanels -(NSError *)application:(NSApplication *)application willPresentError:(NSError *)error -(void)applicationDidBecomeActive:(NSNotification *)aNotification -(void)applicationDidChangeScreenParameters:(NSNotification *)aNotification -(void)applicationDidFinishLaunching:(NSNotification *)aNotification -(void)applicationDidHide:(NSNotification *)aNotification -(void)applicationDidResignActive:(NSNotification *)aNotification -(void)applicationDidUnhide:(NSNotification *)aNotification -(void)applicationDidUpdate:(NSNotification *)aNotification -(NSMenu *)applicationDockMenu:(NSApplication *)sender -(BOOL)applicationOpenUntitledFile:(NSApplication *)theApplication -(BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag -(BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender -(NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender -(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication -(void)applicationWillBecomeActive:(NSNotification *)aNotification -(void)applicationWillFinishLaunching:(NSNotification *)aNotification -(void)applicationWillHide:(NSNotification *)aNotification -(void)applicationWillResignActive:(NSNotification *)aNotification -(void)applicationWillTerminate:(NSNotification *)aNotification -(void)applicationWillUnhide:(NSNotification *)aNotification -(void)applicationWillUpdate:(NSNotification *)aNotification
- NSNotification
- NSApplicationTerminateReply
- NSString
- NSDictionary
- NSMenu?
- NSError?
applicationDidFinishLaunching?
-(void)applicationDidFinishLaunching:(NSNotification *)aNotification
アプリケーションの起動処理が終了した際に、一度だけ呼び出される。初期化処理を呼ぶ際に便利そうだ。