An instance can directly access its own instance variables and the
variables accessible to its class. A class can directly access its own
class variables, which it either declared or inherited, and the
static
variables declared by any of its superclasses. All other
direct variable accesses are not possible: such forms of state must be
accessed through methods. Thus, state of objects other than self
and isa
(that is the isa
of self
, self->isa
in C syntax) is not directly accessible.
Go to the first, previous, next, last section, table of contents.