Re: Guidance on collecting multiple 'documents' as a 'book'
Re: Guidance on collecting multiple 'documents' as a 'book'
- Subject: Re: Guidance on collecting multiple 'documents' as a 'book'
- From: saratchandra kongara <email@hidden>
- Date: Thu, 15 Jul 2004 21:04:33 -0700 (PDT)
Hi Steven,
Take a look at NSFileWrapper and see if this solves
the problem. I think you can use NSFileWrapper to
create a file package (folder with multiple files).
Regards
Sarat Kongara
--- Steven Harms <email@hidden> wrote:
>
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.
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
_______________________________________________
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.