11

How can we zip and unzip a file through coding?

Cœur
  • 37,241
  • 25
  • 195
  • 267
RAMAN RANA
  • 1,785
  • 4
  • 21
  • 40
  • 1
    possible duplicate of [How can I create a zip file by using Objective C?](http://stackoverflow.com/questions/286496/how-can-i-create-a-zip-file-by-using-objective-c) – Brad Larson Feb 22 '11 at 22:38

2 Answers2

11

Take a look at this SO questions.

And here is a library ziparchive

ziparchive An Objective C class for zip/unzip on iPhone and Mac OSX

Community
  • 1
  • 1
Adnan
  • 25,882
  • 18
  • 81
  • 110
3

Take a look at ZipKit also.

ZipKit is an Objective-C framework for reading and writing Zip archives in Mac OS X and iOS apps, it supports:

  • the standard PKZip format
  • files larger than 4GB in size using PKZip's zip64 extensions
  • optionally, resource forks in a manner compatible with Mac OS X's Archive Utility (in the > Mac OS X targets only)
  • clean interruption, so archiving can be cancelled by the invoking object (e.g., a NSOperation or NSThread).
Community
  • 1
  • 1
Damien Debin
  • 2,812
  • 25
  • 41