December 2013
Beginner
576 pages
16h 4m
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