Are synthesized instance variables generated as private instead of protected?
Since recent runtimes in iOS, we are able to define properties that will generate accessors for instance variables. From what I understand, it is not mandatory to declare the instance variable used since it will be automatically done for us. For example, if I write: @interface MyFirstClass @property (readonly, nonatomic) int size; @end and in the .m @implementation MyFirstClass @synthesize size; @end Then an instance variable named "size" will be added for me and a method called "-(int)size" will be implemented. The problem is that when I create a second class MySecondClass which is a subclass