writeToFile:
writeToFile:
- Subject: writeToFile:
- From: Andrew Merenbach <email@hidden>
- Date: Thu, 21 Nov 2002 23:17:03 -0800
I'm making a small address-book-like application to keep track of the
members of a few clubs. The data is in the form of an array filled
with NSDictionary objects, and I would like to actually write my
documents from, and read them into, a plaintext NSArray file (such that
I could actually edit it by hand in a text editor). I've tried
overriding writeToFile:ofType: and readFromFile:ofType:, but when I
remove dataRepresentationOfType:, I get an exception (and no document
file), and when I leave it in, but return nil, the document never gets
written, either.
What do I need to do to create a document-based app that reads to, and
writes from, a plaintext NSArray?
Take care,
Andrew Merenbach
_______________________________________________
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.