In the NSObject Class Reference they talk about an “isa instance variable” which
is initialized to a data structure that describes the class
can someone explain what I should know about this isa instance variable? What is that good for? What does isa mean? Sounds like a norm, like DIN, ISO, etc.; Any idea what that is?
It is used to determine a class’s inheritance path. More formally:
The name
isacomes from the OOP concept ofIS-Awhich is simply a relationship between two objects like this:So the
isainstance variable can be helpful in that it can tell you whatIS-Arelationships your class has in its inheritance hierarchy.