I know it\'s possible to define public instance variable with @public keyword. However, Objective-C syntax does not allow accessing other class\' variable. What features sho
You are supposed to write accessor methods to do that. Object-oriented design implies that a class shouldn't care about internal structure of objects of another class.
That said, id is just a pointer, so you can do obj->ivar, provided you know what you're doing and there is no way to write a proper accessor method.