Advice for cross-platform equivalent of NSFileWrapper
Advice for cross-platform equivalent of NSFileWrapper
- Subject: Advice for cross-platform equivalent of NSFileWrapper
- From: Gideon King <email@hidden>
- Date: Thu, 11 Nov 2004 21:20:00 +1000
I have an application that needs to create files to be opened by
applications running on that other operating system as well as MacOS X.
The file format uses an XML file and various images and other files. On
MacOS X, I have been considering using NSFileWrapper, but that creates
a folder which would be a pain to use on Windows because everyone could
see the contents and would be likely to add/remove items and break the
file.
So what I am looking for is a way to create a single file which is in
essence a file system, adding and removing files, and preferably saving
the output in a compressed format. I have been considering various
options like libz and/or a tar library, as this would have the added
advantage of being able to have a look at the contents without a
specialized program (and make it easier to open the specification for
third-party development). Anyway, I thought it was probably a problem
that has been solved by others - hence this message. I have seen some
related messages in the archives, but not something that directly
addresses this issue.
Does anyone have a suggestion of a good approach to managing multiple
logical files in a logical folder and saving to a single compressed
file?
Thanks
Gideon
_______________________________________________
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