How can I unzip a file in MacOS X Obj-C? What frameworks do I need and what is the call?
A:
Similar SO question here:
http://stackoverflow.com/questions/1546541/how-can-we-unzip-a-file-in-objective-c
Banjer
2010-04-12 19:28:52
That question is for the iPhone; the answers are possibly quite different.
Greg Hewgill
2010-04-12 19:34:46
good call. i didn't spot that iphone tag.
Banjer
2010-04-12 19:35:56
+2
A:
You might find something helpful here at CocoaDev or with theunarchiver. theunarchiver is a nice utility that handles many archive formats and since it's open-source, you may be able to use some of their code to do what you want, though it's LGPL, which may or may not be compatible with what you're doing.
Isaac
2010-04-13 16:30:03
+1
A:
libz.1.2.3.dylib is the framework you should add to your project.
And use the the classes: http://code.google.com/p/ziparchive/downloads/list