• 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
Re: Returning a useful error from NSDocument's -readFromURL:...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a useful error from NSDocument's -readFromURL:...


  • Subject: Re: Returning a useful error from NSDocument's -readFromURL:...
  • From: Charles Srstka <email@hidden>
  • Date: Thu, 4 Mar 2010 00:26:50 -0600

On Mar 3, 2010, at 11:41 PM, Jerry Krinock wrote:

>> I could put all of the information into NSLocalizedDescriptionKey, but this looks horrible as it’s all in bold
>
> Ah, yes.  That's another reason why I don't use Cocoa's error presentation.  I hate that boldface crap.

What’s wrong with NSLocalizedRecoverySuggestionErrorKey? Yeah, I know the name doesn’t make that much sense, but text you put in there does end up in the error box in regular, non-boldface type when Cocoa presents the error.

Charles_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Returning a useful error from NSDocument's -readFromURL:... (From: Keith Blount <email@hidden>)
 >Re: Returning a useful error from NSDocument's -readFromURL:... (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Returning a useful error from NSDocument's -readFromURL:...
  • Next by Date: Re: Debugging problem
  • Previous by thread: Re: Returning a useful error from NSDocument's -readFromURL:...
  • Next by thread: Re: Returning a useful error from NSDocument's -readFromURL:...
  • Index(es):
    • Date
    • Thread