diff --git a/README.md b/README.md index a36836f..4c1b1b4 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,27 @@ #ZipArchive +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) +[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat +)](http://mit-license.org) ZipArchive is a simple utility class for zipping and unzipping files on iOS and Mac. -##How to add ZipArchive to your project +##Installation and Setup +####Carthage +Carthage builds the dependencies and provides a binary framework for ZipArchive. To add ZipArchive to your project using Carthage, create a Cartfile and add: -1. Add the `ZipArchive` and `minizip` folders to your project. -2. Add the `libz` library to your target +```ogdl +github "ZipArchive/ZipArchive" "master" +``` -ZipArchive requires ARC. +####CocoaPods +*currently not working. -###Usage +####Manual +1. Add `Main.h` and `Main.m` to your project. +2. Add the `minizip` folder to your project. +3. Add the `libz` library to your target + +##Usage ```objective-c // Unzip Operation NSString *zipPath = @"path_to_your_zip_file"; diff --git a/ZipArchive.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/ZipArchive.xcodeproj/xcshareddata/xcschemes/Example.xcscheme new file mode 100644 index 0000000..22707f2 --- /dev/null +++ b/ZipArchive.xcodeproj/xcshareddata/xcschemes/Example.xcscheme @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive.xcscheme b/ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive.xcscheme new file mode 100644 index 0000000..06c0d2c --- /dev/null +++ b/ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive.xcscheme @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +