2

I want to create a .zip file using Objective-C.

Is there is any method for this or do you have any other suggestions?

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
Sandeep Kumar
  • 1,595
  • 1
  • 12
  • 19
  • This is a duplicate of http://stackoverflow.com/questions/286496/how-can-i-create-a-zip-file-by-using-objective-c – Brad Larson Jan 11 '10 at 17:31

2 Answers2

4

You can use the zlib library with iPhone SDK.

This discussion provide more details http://discussions.apple.com/thread.jspa?messageID=7367520

1

check out for ZipArchive which is an Objective-C class to compress or uncompress zip files, which is base on open source code "MiniZip".

It can be used for iPhone application development, and cocoa on Mac OSX as well.

raaz
  • 12,410
  • 22
  • 64
  • 81