Is there any documentation or examples on how to call Objective-C objects from assembly language on Mac OS X?
Asked
Active
Viewed 33 times
0
-
3Forget assembly, even C presents a great challenge! Here is [an answer](http://stackoverflow.com/q/10289890/335858) for iOS, but it should give you a decent idea of what is required to build a tiny hello-world app without Objective-C. – Sergey Kalinichenko Oct 12 '15 at 17:35
1 Answers
1
Indirectly; Objective-C calls compile down to calls to the C function objc_msgSend
so you can use the usual C ABI to get into there. Which you can look up for your target architecture of interest here.

Tommy
- 99,986
- 12
- 185
- 204