protocolCheckerWithTarget:protocol:
調査中
+(id)protocolCheckerWithTarget:(NSObject *)anObject: protocol:(Protocol *)aProtocol:
解説
調査中
オブジェクトとプロトコルでプロトコルチェッカーを返します。
返り値
( id )
プロトコル・チェッカー
引数
( NSObject * )anObject
オブジェクト
( Protocol * )aProtocol
プロトコル
フレームワーク
Foundation
クラス
NSProtocolChecker
Class Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSProtocolChecker *pChecker = [NSProtocolChecker protocolCheckerWithTarget:self protocol:@protocol(NSObject)]; } @end