A pointer to the start of a method implementation.
Framework
- Objective-C Runtime
Declaration
id (*IMP)(id, SEL, ...)
Overview
This data type is a pointer to the start of the function that implements the method. This function uses standard C calling conventions as implemented for the current CPU architecture. The first argument is a pointer to self
(that is, the memory for the particular instance of this class, or, for a class method, a pointer to the metaclass). The second argument is the method selector. The method arguments follow.