wireapp/ZipArchive

Name: ZipArchive

Owner: Wire Swiss GmbH

Description: ZipArchive is a simple utility class for zipping and unzipping files on iOS and Mac.

Forked from: wearezeta/ZipArchive

Created: 2016-07-14 14:37:27.0

Updated: 2018-04-10 14:03:05.0

Pushed: 2018-04-10 14:03:59.0

Homepage:

Size: 6063

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

SSZipArchive

ZipArchive is a simple utility class for zipping and unzipping files on iOS, macOS and tvOS.

Installation and Setup

The main release branch is configured to support Objective C and Swift 3+.

SSZipArchive works on Xcode 7-9 and above, iOS 8-11 and above.

CocoaPods

In your Podfile:
pod 'SSZipArchive'

Carthage

In your Cartfile:
github "ZipArchive/ZipArchive"

Manual
  1. Add the SSZipArchive and minizip folders to your project.
  2. Add the libz library to your target

SSZipArchive requires ARC.

Usage
Objective-C
reate
ipArchive createZipFileAtPath:zipPath withContentsOfDirectory:sampleDataPath];

nzip
ipArchive unzipFileAtPath:zipPath toDestination:unzipPath];
Swift
reate
pArchive.createZipFileAtPath(zipPath, withContentsOfDirectory: sampleDataPath)

nzip
pArchive.unzipFileAtPath(zipPath, toDestination: unzipPath)
License

SSZipArchive is protected under the MIT license and our slightly modified version of Minizip 1.2 is licensed under the Zlib license.

Acknowledgments

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.