Sends a message with a simple return value to an instance of a class.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Objective-C Runtime
A pointer that points to the instance of the class that is to receive the message.
The selector of the method that handles the message.
A variable argument list containing the arguments to the method.
The return value of the method.
When it encounters a method call, the compiler generates a call to one of the functions
objc. Messages sent to an object’s superclass (using the
super keyword) are sent using
objc; other messages are sent using
objc. Methods that have data structures as return values are sent using