Re: NSTask with unzip
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