From 67cef95bb68c4e02a5817ccc9b1474cfab49dcfb Mon Sep 17 00:00:00 2001 From: Sean Soper Date: Fri, 23 Oct 2015 14:23:12 -0400 Subject: [PATCH] updated doc --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 718855f..b811e8c 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ SSZipArchive requires ARC. ## Usage +### Objective-C + ```objective-c // Create [SSZipArchive createZipFileAtPath: zipPath withContentsOfDirectory: sampleDataPath]; @@ -32,6 +34,8 @@ SSZipArchive requires ARC. [SSZipArchive unzipFileAtPath:zipPath toDestination: unzipPath]; ``` +### Swift + ```swift // Create SSZipArchive.createZipFileAtPath(zipPath, withContentsOfDirectory: sampleDataPath)