• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSError and NSAlert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSTextView:setString stalls sometimes...
  • Next by Date: Re: NSMenu menuBarHeight is 0?
  • Previous by thread: Re: Updated: NSTextView:setString stalls sometimes...
  • Next by thread: Can NSBeginAlertSheet call be dismissed?
  • Index(es):
    • Date
    • Thread