How can I unzip a file in MacOS开发者_StackOverflow社区 X Obj-C? What frameworks do I need and what is the call?
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.
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
精彩评论