@implementation B
- (void)handleTask {
if(condition) {
[super handleTask];
return;
}
// B implementation
return;
}
@end
On Sat, Sep 5, 2009 at 6:25 AM, Alex Reynolds wrote:
> Let's say I have a class interface and implementation, as follows:
>
> ---
> @interface A : NSObject {
>
Le 5 sept. 2009 à 12:33, jonat...@mugginsoft.com a écrit :
On 5 Sep 2009, at 11:25, Alex Reynolds wrote:
Let's say I have a class interface and implementation, as follows:
---
@interface A : NSObject {
...
}
- (void) handleTask;
@end
@implementation A
...
- (void) handleTask {
// do stuf
On 5 Sep 2009, at 11:25, Alex Reynolds wrote:
Let's say I have a class interface and implementation, as follows:
---
@interface A : NSObject {
...
}
- (void) handleTask;
@end
@implementation A
...
- (void) handleTask {
// do stuff specific to A object type...
}
---
Let's say I then subcl
Let's say I have a class interface and implementation, as follows:
---
@interface A : NSObject {
...
}
- (void) handleTask;
@end
@implementation A
...
- (void) handleTask {
// do stuff specific to A object type...
}
---
Let's say I then subclass A and override -handleTask:
---
@interface