tags:

views:

874

answers:

3

I found the zlib and gzip decompression algorithms, but I need to compress a whole directory and download it from the server. Would rather not go file at a time.

Thanks.

+4  A: 

I've had good luck using minizip on iPhone.

Rob Napier
This looks like a good answer. Thanks.
john146
+1  A: 

I attened a Tacow meeting in Toronto where Karl Kolpanic did a presentation on his ZipKit framework, which he said is also compatible with iPhone development.

It's available over at BitBucket.org: http://bitbucket.org/kolpanic/zipkit/

Canada Dev
According to the website, it says it requires garbage collection, so in its current form, it's not compatible with iPhone, unfortunately.
john146
+3  A: 

ziparchive, a Google Code project by "acsolu," provides an iPhone-compatible Objective-C wrapper around minizip. With a little adaptation, I found it useful for doing unzip on the iPhone as you described.

Paul Collins
This looks even better.
john146