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                      gandr...@gandreas.com 
The most merciful thing in the world ... is the inability of the human mind to 
correlate all its contents - HPL

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to