Locates and returns the address of the implementation of the instance method identified by a given selector.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Objective-C Runtime
The address of the implementation of the
a instance method.
An error is generated if instances of the receiver can’t respond to
Use this method to ask the class object for the implementation of instance methods only. To ask the class for the implementation of a class method, send the
method(for:) instance method to the class instead.