Merge pull request #114 from xhacker/patch-1

Update Readme.markdown
This commit is contained in:
Douglas Bumby
2015-04-06 13:48:38 -04:00
+3
View File
@@ -31,6 +31,9 @@ NSArray *inputPaths = [NSArray arrayWithObjects:
[[NSBundle mainBundle] pathForResource:@"photo2" ofType:@"jpg"]
nil];
[SSZipArchive createZipFileAtPath:zippedPath withFilesAtPaths:inputPaths];
// Zipping directory
[SSZipArchive createZipFileAtPath:zippedPath withContentsOfDirectory:inputPath];
```
## Tests