NSFileWrapper equivalent on non-Mac platforms
NSFileWrapper equivalent on non-Mac platforms
- Subject: NSFileWrapper equivalent on non-Mac platforms
- From: Chris Heimark <email@hidden>
- Date: Sat, 9 Feb 2008 00:26:08 -0500
Hi:
Does anyone know if files, that I create in my Cocoa application, via
the following logical code sequence,
// likely to be directories of files
NSFileWrapper *wrapper = [[NSFileWrapper alloc]
initWithPath:sourcefilepath];
// data equivalent
NSMutableData *data = [[NSMutableData dataWithData:[wrapper
serializedRepresentation]] retain];
// zip
[data compress];
// File write/send to PC...
have an NSFileWrapper equivalent on the PC whereby I can "re-
establish" the directory structure unto a PC from a Mac?
Or is NSFileWrapper format completely proprietary to Apple? And
therefore, am I stuck with the less elegant equivalent of tar | zip?
Or better - perhaps there is a pure Cocoa way that I am aware of?
Thanks in advance.
Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden