NSDocument questions
NSDocument questions
- Subject: NSDocument questions
- From: Mark Alldritt <email@hidden>
- Date: Fri, 30 May 2003 13:40:09 -0700
Hi,
I have two questions concerning NSDocument.
1) I am using C++ iostreams to read and write my document's data. I want to
confirm that NSDocument's readFromFile and writeToFile are the correct
methods to override when I don't need Cocoa's I/O facilities.
2) How do I prevent Cocoa from displaying its Cannot Open panel when
readFromFile returns false? I will have already displayed my own alert
explaining why the document could not be read (XML parsing errors in my
case).
Cheers
-Mark
---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB:
http://www.latenightsw.com/ CANADA V8V-4M9
_______________________________________________
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.