Locates and returns the address of the implementation of the instance method identified by a given selector.
Original signature is '+ (IMP)instanceMethodForSelector:(SEL)aSelector'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- aSelector (IntPtr)
- A selector that identifies the method for which to return the implementation address. The selector must be non-NULL and valid for the receiver. If in doubt, use the respondsToSelector: method to check before passing the selector to methodForSelector:.
Return Value
The address of the implementation of the aSelector instance method.
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)