Why [object doSomething] and not [*object doSomething]?
The answer harkens back to the C roots of Objective-C. Objective-C was originally written as a compiler pre-processor for C. That is, Objective-C wasn’t compiled so much as it was transformed into straight C and then compiled. Start with the definition of the type id. It is declared as: typedef struct objc_object { Class isa; … Read more