Guidance on collecting multiple 'documents' as a 'book'
Guidance on collecting multiple 'documents' as a 'book'
- Subject: Guidance on collecting multiple 'documents' as a 'book'
- From: Steven Harms <email@hidden>
- Date: Thu, 15 Jul 2004 15:33:14 -0700
Hi,
I'm working on a project that will essentially produce an "RTF with
files" document. Essentially I want to create a 'journal' application
which is composed of multiple unique instances of each 'document'.
That is:
NSSomething * storyOfMyLife = [[NSSomething alloc] initWithStartYear: 1977];
Elsewhere....after the following has been updated....
NSSomethingElseDocLike * today = [[NSSomethingElseDocLike alloc]init];
...I would like to
[storyOfMyLife addDay: today];
When I quit the application I should like the updated 'storyOfMyLife' to
be archived as an aggregate, not as an independent collection.
The Duncan and Garfinkel booksboth seem to work up to creating single
documents -- but I want to create a collection of documents. How does
one store these collections - do I use NSArchiver?
Alternatively, I'm looking into seeing if NSAddresBook can be hammered
and squashed into providing what I want - can it?
Thanks for any help!
Steven
_______________________________________________
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.