Allocates and initializes an NSProtocolChecker instance that will forward any messages in aProtocol to anObject, the protocol checker’s target.
Original signature is '+ (id)protocolCheckerWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSProtocolChecker ProtocolCheckerWithTargetProtocol( NSObject anObject, IntPtr aProtocol )
Public Shared Function ProtocolCheckerWithTargetProtocol ( _ anObject As NSObject, _ aProtocol As IntPtr _ ) As NSProtocolChecker
public: static NSProtocolChecker^ ProtocolCheckerWithTargetProtocol( NSObject^ anObject, IntPtr aProtocol )
Return Value
[Missing <returns> documentation for "M:Monobjc.Foundation.NSProtocolChecker.ProtocolCheckerWithTargetProtocol(Monobjc.Foundation.NSObject,System.IntPtr)"]
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)