I know that calling a method's instance like [object theMethod] is a message to that instance asking to perform an action (a method named theMethod).
Apple's documentation doesn't help when it comes to CGRectMake.
For example:
When sending a message to an instance the compiler converts a message expression:
[receiver message]
into a call to a messaging function, objc_msgSend. This function takes the receiver and the name of the method mentioned in the message—that is, the method selector—as its two principal parameters:
objc_msgSend(receiver, selector)
Any arguments passed in the message are also handed to objc_msgSend:
objc_msgSend(receiver, selector, arg1, arg2, ...)
But what about CGRectMake? Where is that function is located? What's the main differences (procedure) when calling the functions?
Update: What about memory? For example blocks are created in the stack. What about CGRectMake?