protocol
調査中
解説
調査中
プロトコルを返します。
返り値
( Protocol * )
プロトコル
引数
フレームワーク
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 protocol] description]); } @end