NSError and NSAlert
NSError and NSAlert
- Subject: NSError and NSAlert
- From: Olivier Destrebecq <email@hidden>
- Date: Tue, 25 Oct 2005 10:43:38 -0400
I want to present my user with informative error dialog. SO i'm using
the new error mechanism of panther (i target 10.4 only).
There is a way to present an alert dialog from a NSError object
through the window controller
(presentError:modalForWindow:delegate:didPresentSelector:contextInfo: ),
but this method does not allow to specify that one wants the help
button to be present.
There is a way to specify the need for a help button, but one has to
use the NSAlert class directly. Which means that when presenting the
alert the recoverer object will not get called.
Did i miss something or is this the case? And if this is true is
there a workaround?
Olivier
http://otusweb.spymac.com/home/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden