I've been looking at this question and came across the following code in one of the answers
@interface MyClass : NSObject
{
    @private
    int someVar;  // Can only be accessed by instances of MyClass
    @public
    int aPublicVar;  // Can be accessed by any object
}
@end
Is there anyway to access someVar from any other class (including derived classes)?
 
     
     
    