4 ms·
I don't buy the "plain C" claim, given the gratuitous use of objc_msgSend().
by sigjuice 10y ago
I don't buy the "plain C" claim, given the gratuitous use of objc_msgSend().
- juliangoldsmith 10y agoWhat else would it be? objc_msgSend() is called as a C function, to interface with ObjC code.
- msbarnett 10y ago...objc_msgSend() is a plain C function that grovels around in various runtime data structures to call the correct function pointer for GUI and OS functionality. Any alternate method of finding and calling those functions would amount to simply reimplementing objc_msgSend()