4fa1e0d060128b5170976d1c7c894a369dcbf462
Basic zip files can be created (or appended to) by supplying the path to a zip file and either paths to existing files or NSData objects along with filenames.
SSZipArchive
SSZipArchive is a simple utility class for unzipping files originally based on ZipArchive by aish.
Currently it only supports unzipping. In the future, creating zip files will be supported.
Adding to your project
- Add
SSZipArchive.h,SSZipArchive.m, andminizipto your project. - Add the
libzlibrary to your target
Usage
NSString *path = @"path_to_your_zip_file";
NSString *destination = @"path_to_the_folder_where_you_want_it_unzipped";
[SSZipArchive unzipFileAtPath:path toDestination:destination];
License
SSZipArchive is licensed under the MIT license. A slightly modified version of Minizip 1.1 is also included and is licensed under the Zlib license.
Description
Languages
C
79.6%
Objective-C
18.5%
Swift
1.5%
Ruby
0.3%