• 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
Re: NSTask with unzip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask with unzip


  • Subject: Re: NSTask with unzip
  • From: glenn andreas <email@hidden>
  • Date: Sun, 28 Nov 2010 17:12:53 -0600

On Nov 28, 2010, at 4:51 PM, Leonardo wrote:

> Great! Thanks for the advises.
> Now I have to zip and unzip a NSData (not a zip file) to a NSData.
> In other words, I have to zip and unzip "data to data", without using any
> file. Some idea?
>
> -- Leonardo


A quick google search turns up several Cocoa zip frameworks out there that will avoid having to use NSTask, etc... all together.  While the zip file format is ugly, it is documented and you can always write your own to walk through a zip file to find the objects you want and use the standard zlib routines to do the compression/decompression.




Glenn Andreas                      email@hidden
The most merciful thing in the world ... is the inability of the human mind to correlate all its contents - HPL

_______________________________________________

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

  • Follow-Ups:
    • Re: NSTask with unzip
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: NSTask with unzip (From: Leonardo <email@hidden>)

  • Prev by Date: Re: hidden file
  • Next by Date: NSXMLParser chokes on DTD declaration
  • Previous by thread: Re: NSTask with unzip
  • Next by thread: Re: NSTask with unzip
  • Index(es):
    • Date
    • Thread