Returns the function pointer that would be called if a particular message were sent to an instance of a class.
Mac Catalyst 13.0+Beta
The class you want to inspect.
The function pointer that would be called if [object name] were called with an instance of the class, or NULL if cls is Nil.
class_getMethodImplementation may be faster than method_getImplementation(class_getInstanceMethod(cls, name)).
The function pointer returned may be a function internal to the runtime instead of an actual method implementation. For example, if instances of the class do not respond to the selector, the function pointer returned will be part of the runtime's message forwarding machinery.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.