target
調査中
解説
調査中
ターゲットを返します。
返り値
( NSObject * )
ターゲットオブジェクト
引数
フレームワーク
Foundation
クラス
NSProtocolChecker
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSProtocolChecker *pChecker = [NSProtocolChecker protocolCheckerWithTarget:self protocol:@protocol(NSObject)]; NSLog([[pChecker target] description]); } @end