Le 17 déc. 2010 à 00:06, Dave Keck a écrit :

>> Presumably it is more functionally similar to:
> 
> On my system, the exception is being caught from within
> -[NSApplication run]. So it would look like the implementation of -run
> shown here:
> 
>    http://cocoawithlove.com/2009/01/demystifying-nsapplication-by.html
> 
> with a @try around the calls to -nextEventMatchingMask: and
> -sendEvent:, and the @catch block calling -reportException:.
> 

Not necessarily. Some subsystems use @try @catch, like the menu handler and the 
notification center. 
It does not mean that all appkit calls are protected though.


-- Jean-Daniel




_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to