Creating file packages
Creating file packages
- Subject: Creating file packages
- From: Mark Dawson <email@hidden>
- Date: Wed, 26 Jan 2005 15:54:43 -0800
I want to save a document as a file package (bundled directory). I see
references to NSFileWrapper, but wasn't sure if it did what I wanted.
What I want is for the user to be able to create a file, then save it.
The act of saving it saves pieces of the document into different files
(mainly separated into objects and plist XML files). Localizers can
edit their appropriate /Resources/xxx.llproj/ files (either adding or
editing existing).
I wasn't clear whether NSFileWrapper creates the bundled directory
(/Conents/Resources etc) when adding files there. Do I create the
directory structure, then have NSFileWrapper put the files there? I
assume the NSFileWrapper is the "Cocoa" way to go for this? I'm not
sure what advantage there is vs just a brute force of saving different
files different places…
I see references to NSFileWrapper in the documentation, but I haven't
run across any example code showing how to use it for building file
packages.
Thanks for any enlightenment thrown my way!
mark
_______________________________________________
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