On Jul 13, 2009, at 12:52 PM, Quincey Morris wrote:
As the OP demonstrated (and I didn't realize this before he did), NSDocumentController apparently *will* display the failure reason ("The document X could not be opened. B."). So you have a way of customizing the alert, so long as you don't mind the canned part talking about "documents" being "opened". If you don't like it, you have the display-your-own-alert-and-return-cancel alternative.
You're absolutely right. Using NSLocalizedFailureReasonErrorKey instead of NSLocalizedDescriptionKey "does the right thing".
Thanks for the clarification. I learn something new every day. :-) -- I.S. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
