Creating a ZIP archive from a Cocoa application?

There is a zip-framework code.google.com/p/zip-framework but it seems to be in an early (version 0.1) stage Others answers on cocoadev : cocoadev.com/index.pl?ZipArchiveLibraryF... One answer from there: ZipKit bitbucket.org/kolpanic/zipkit/wiki/Home.

There is a zip-framework, code.google.com/p/zip-framework/, but it seems to be in an early (version 0.1) stage. Others answers on cocoadev: cocoadev.com/index.pl?ZipArchiveLibraryF... One answer from there: ZipKit, bitbucket.org/kolpanic/zipkit/wiki/Home.

ZipKit seems to better name its methods than ZipArchive (even if I don't understand why it prefixes its addition methods). – kiamlaluno Dec 18 '09 at 13:52 Prefixing or suffixing category methods help avert name collisions if Apple ever adds a method in Cocoa under the same name. – Peter Hosey Dec 19 '09 at 7:17.

Aside from reading and writing zip archives in your own process, there's no shame in using NSTask to run zip and unzip.

Using this method would allow to not change the code to support new features. I wonder what exactly does Finder when you select a file/directory, and then select "Compress" from the menu. Which executable does Finder uses?

– kiamlaluno Dec 19 '09 at 6:59 It uses the Archive Utility. – Peter Hosey Dec 19 '09 at 7:16.

Check out code.google.com/p/ziparchive/. It's a class for zipping files. Google is your friend!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions