• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSFileWrapper equivalent on non-Mac platforms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Problems getting NSURLConnection to work
  • Next by Date: Re: What's the replacement for GetMBarHeight?
  • Previous by thread: Re: Problems getting NSURLConnection to work
  • Next by thread: NSPopupButtonCell indentations
  • Index(es):
    • Date
    • Thread