diff --git a/Readme.markdown b/Readme.markdown index d8cfc34..981e6f4 100644 --- a/Readme.markdown +++ b/Readme.markdown @@ -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