SSZipArchive is a simple utility class for unzipping files based on ZipArchive.
Currently it only supports unzipping. In the future, creating zip files will be supported.
- Add
SSZipArchive.h
,SSZipArchive.m
, andminizip
to your project. - Add the
libz
library to your target
NSString *path = @"path_to_your_zip_file";
NSString *destination = @"path_to_the_folder_where_you_want_it_unzipped";
[SSZipArchive unzipFileAtPath:path toDestination:destination];
SSZipArchive is licensed under the MIT license. Minizip 1.01h is also included and is licensed under the Zlib license.