- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- (void)setButtonVisible:(bool)buttonVisible
{
if(isIpad)
{
id(*superSuperButtonVisible)(id, SEL, ...) = [[[self superclass] superclass] instanceMethodForSelector:@selector(setButtonVisible:)];
superSuperButtonVisible(self, _cmd, buttonVisible);
}
else
{
[super setButtonVisible:buttonVisible];
}
}
glook 23.06.2014 14:20 # +2
У Вас, собственно, с архитектурой проблемы, а не с наследованием.
kegdan 23.06.2014 17:44 # 0