Subclassing Cocoa means no subclass ivars in some cases?
- by Michael
The question is generally coming from self = [super init].
In case if I'm subclassing NSSomething and in my init's method self = [super init] returns object of different class, does it mean I am not able to have my very own ivars in my subclass, just because self will be pointing to different class?
Appreciate if you could bring some examples if…