Calling a super call method from and instance

2009-05-07 Thread David Alter
In Objective-C 1.0 (not 2.0 ) is there a way to call a super class method if I have a reference to the class See bellow @interface MyClassA : NSObject { } -(void) aboutMe ; @end @implementation MyClassA -(void) aboutMe ; { NSLog(@"I'm Class A"); } @end @interface MyClassB :MyClassA { } -(void) ab

Re: Calling a super call method from and instance

2009-05-07 Thread Jonathan Hess
Hey Dave - Usually wanting to do something like this points to some design flaw, but if you really want to invoke classA's implementation there are a number of ways to do it. One way would be to put a category on MyClassB like this: @implementation MyClassB(PassThrough) - (void)aboutMySupe