是否可以访问对象超类(或祖父)的超类方法?
例如:
GrandFatherObject : NSObject
SuperObject : GrandFatherObject
SelfObject : SuperObject
来自 SelfObject:
- (void)overriddenMethod
{
// For Self
someCode();
// For Parent
[super overriddenMethod];
// For GrandParent
???
}
我只能访问 SelfObject(不能修改 SuperObject 或 GrandFatherObject)