Locates and returns the address of the receiver’s implementation of a method so it can be called as a function.
Original signature is '- (IMP)methodForSelector:(SEL)aSelector'
Available in Mac OS X v10.0 and later.
- aSelector (IntPtr)
- A selector that identifies the method for which to return the implementation address. The selector must be a valid and non-NULL. If in doubt, use the respondsToSelector: method to check before passing the selector to methodForSelector:.
The address of the receiver’s implementation of the aSelector.
Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)