sharedApplication
アプリケーションを返します
返り値
( NSApplication * )
アプリケーション
引数
フレームワーク
ApplicationKit
クラス
NSApplication
Class Methods
使用可能
10.0
参照
- run
- terminate:
例文
#import "Controller.h" @implementation Controller - (IBAction)pushButton:(id)sender { [[NSApplication sharedApplication] orderFrontStandardAboutPanel:nil]; } - (void)applicationWillUpdate:(NSNotification *)aNotification { NSLog(@"applicationWillUpdate"); } @end