I've got some spooky code that I'm digging into that calls an instance method 
in an uninstantiated timer class within main.m's main to start an application 
timer detecting touches to keep the app alive.

Within this pearl, we have [super sendevent:event]; within an @try block.

At the point of the exception, super isn't even accessible, declared or defined.

The @catch after it doesn't even catch the exception.  The exception is thrown 
right away.

If I even check to see if super is nil, an exception is immediately thrown.

How would I check for the existence of super to prevent this?

Thanks in advance.

Alex Zavatone



_______________________________________________

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

Reply via email to