Created
September 15, 2014 17:12
-
-
Save ddesai/aca2315bbc7c1e8e7150 to your computer and use it in GitHub Desktop.
objectiveC-message-receiver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In objectiveC - all the methods are called like below - as a message passing - like below: | |
[receiver selector] | |
This gets converted into C code - at the pre-Compile time: | |
objc_msgSend(receiver, selector, arg1, arg2) | |
e.g. [book1 sellNow] -- to objc_msgSend(book1, sellNow) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment