From b7898d7fb49bf748943801c0d689b0394682995f Mon Sep 17 00:00:00 2001 From: Douglas Bumby Date: Sun, 12 Jul 2015 12:43:31 +0100 Subject: [PATCH 1/3] Share schemes --- .../xcshareddata/xcschemes/Example.xcscheme | 112 ++++++++++++++++++ .../xcschemes/ZipArchive.xcscheme | 110 +++++++++++++++++ 2 files changed, 222 insertions(+) create mode 100644 ZipArchive.xcodeproj/xcshareddata/xcschemes/Example.xcscheme create mode 100644 ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive.xcscheme 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 163a811ddb879c0870ad24f0d6bbe09e45ae7e0e Mon Sep 17 00:00:00 2001 From: Douglas Bumby Date: Sun, 12 Jul 2015 12:52:18 +0100 Subject: [PATCH 2/3] Add Carthage instructions and more --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a36836f..38c745e 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,26 @@ #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: +```ogdl +github "ZipArchive/ZipArchive" "master" +``` + +####CocoaPods +*currently not working. + +####Manual 1. Add the `ZipArchive` and `minizip` folders to your project. 2. Add the `libz` library to your target -ZipArchive requires ARC. - -###Usage +##Usage ```objective-c // Unzip Operation NSString *zipPath = @"path_to_your_zip_file"; From 71daeedd09ed0495e6cf21018b9bb0f8a2e772e4 Mon Sep 17 00:00:00 2001 From: Douglas Bumby Date: Sun, 12 Jul 2015 12:54:00 +0100 Subject: [PATCH 3/3] Fix the manual instructions --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38c745e..4c1b1b4 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,9 @@ github "ZipArchive/ZipArchive" "master" *currently not working. ####Manual -1. Add the `ZipArchive` and `minizip` folders to your project. -2. Add the `libz` library to your target +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