December 2012
Beginner
552 pages
12h 58m
English
Because objects are referenced through pointers, which are just memory addresses, you can freely assign them between id variables. A method that returns an id type consequently just returns a pointer to some object in memory. You can then assign that value to any object variable. Because the object carries its isa member wherever it goes, its class can always be identified, even if you store it in a generic object variable of type id.
Read now
Unlock full access