Re: Returning a useful error from NSDocument's -readFromURL:...
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