Re: returning NO from readFromFile:ofType: causes exception
Re: returning NO from readFromFile:ofType: causes exception
- Subject: Re: returning NO from readFromFile:ofType: causes exception
- From: Robert Clair <email@hidden>
- Date: Fri, 18 Feb 2005 20:50:32 -0500
Yow. Do not answer your e-mail on Friday night if you've just had a
half bottle of wine.
forgetting the "self ="
self = [super initWithContentsOfFile: fileName ofType: docType];
is, of course, the problem... no matter how many times you type the
idiom you
can't see it the one time you forget it.
It is, however, still ugly - I don't want to see an "Error ... failed
to open." panel
if I just canceled the damn thing myself.
Thanks all,
Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden