I just noticed a couple mistakes in the code I threw in yesterday. Should be…
void doNothingIMP(id self, SEL _cmd, NSNotification* note) { NSLog(@"Nothing doing!"); } + (void)load { SEL aSEL = NSSelectorFromString(@"_processEndOfEventNotification:") ; class_addMethod(self, aSEL, (IMP) doNothingIMP, "v@:@"); } but it works either way, with our without the mistakes :)) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com