Re: Providing feedback if file can not open
Re: Providing feedback if file can not open
- Subject: Re: Providing feedback if file can not open
- From: Brent Gulanowski <email@hidden>
- Date: Tue, 23 Sep 2003 23:00:39 -0400
On Tuesday, September 23, 2003, at 05:03 PM, John Nairn wrote:
I am using readFromFile in document based app to read various file
types. Because some of these files may come from unknown sources, it
is common for them to have errors that prevent reading. I can return
NO from readFromFile but this just causes a window that says file at
that path could not be read. Is there a way to set the text of that
message or to override the method that displays that message? It would
be much better to explain the cause of the error.
I don't know of one. You could always return yes and report your own
error.
--
Brent Gulanowski email@hidden
_______________________________________________
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.