Merge pull request #43 from levigroker/master

#define added to the .h which allows conditional compilation for third parties wishing to conditionally add functionality based on the presence of SSZipArchive.
This commit is contained in:
Sam Soffes
2013-03-03 10:53:15 -08:00
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -6,6 +6,9 @@
// Copyright (c) Sam Soffes 2010-2013. All rights reserved.
//
#ifndef _SSZIPARCHIVE_H
#define _SSZIPARCHIVE_H
#import <Foundation/Foundation.h>
#include "minizip/unzip.h"
@@ -43,3 +46,5 @@
- (void)zipArchiveDidUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
@end
#endif /* _SSZIPARCHIVE_H */
+2 -2
View File
@@ -10,6 +10,6 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '4.0'
s.osx.deployment_target = '10.6'
s.source_files = 'SSZipArchive.{h,m}', 'minizip/*.{h,c}'
s.preserve_paths = 'minizip'
s.header_dir = 'minizip'
s.library = 'z'
end
end