I\'m extending the functionality of a class with a subclass, and I\'m doing some dirty stuff that make superclass methods dangerous (app will hang in a loop) in the context
note: I'm ObjC/Cocoa newcomer:
@implementation MyClass -(void)myMethod:(NSString *)txt{ if([self class] != [MyClass class]) return; NSLog(@"Hello"); } @end
Peter