processIdentifier
重複?レシーバーのIDを返します
解説
レシーバーのIDを返します。
返り値
( int )
整数値
引数
フレームワーク
Foundation
クラス
NSProcessInfo
Instance Methods
使用可能
10.0
参照
- processName
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSLog([NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]]); } @end