what about [[super Class] getmaxrow] ?
(for a call on the derived class)
and
[[self Class] getmaxrow]
for a call on the superclass
- (void)display {
NSLog(@"%d", [[self Class] getmaxrow]);
}
5
solved calling static function in super class [closed]