Customizing save failure sheet
Customizing save failure sheet
- Subject: Customizing save failure sheet
- From: Brian Webster <email@hidden>
- Date: Fri, 2 May 2003 11:37:54 -0500
I have an NSDocument application in which sometimes the data for the
document is not valid, and I return nil from dataRepresentationOfType:.
When this happens, NSDocument puts a sheet up on the window saying
"The document could not be saved". However, I would like to be able to
notify the user of the reason why the data is not valid and why the
document cannot be saved. There doesn't appear to be any hook in
NSDocument where I can put this message in the alert sheet or display
my own sheet instead. Am I missing something, is there a workaround,
or do I need to submit a feature request?
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.