From 8ba930ef4be56db977206f6ef90a30663960b877 Mon Sep 17 00:00:00 2001 From: ClementPadovani Date: Wed, 24 Feb 2016 14:54:39 +0100 Subject: [PATCH] Removed getters since they broke everything. Reverts this commit https://github.com/ZipArchive/ZipArchive/commit/03f70718a22577dd63cc021bbdff37b73969d900 that broke the opening and closing of zip files as mentioned in https://github.com/ZipArchive/ZipArchive/issues/225 --- SSZipArchive/SSZipArchive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SSZipArchive/SSZipArchive.h b/SSZipArchive/SSZipArchive.h index 35d70d8..c9e52eb 100755 --- a/SSZipArchive/SSZipArchive.h +++ b/SSZipArchive/SSZipArchive.h @@ -48,12 +48,12 @@ + (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath keepParentDirectory:(BOOL)keepParentDirectory withPassword:(NSString *)password; - (instancetype)initWithPath:(NSString *)path; -@property (NS_NONATOMIC_IOSONLY, readonly, getter = isOpen) BOOL open; +@property (NS_NONATOMIC_IOSONLY, readonly) BOOL open; - (BOOL)writeFile:(NSString *)path withPassword:(NSString *)password; - (BOOL)writeFolderAtPath:(NSString *)path withFolderName:(NSString *)folderName withPassword:(NSString *)password; - (BOOL)writeFileAtPath:(NSString *)path withFileName:(NSString *)fileName withPassword:(NSString *)password; - (BOOL)writeData:(NSData *)data filename:(NSString *)filename withPassword:(NSString *)password; -@property (NS_NONATOMIC_IOSONLY, readonly, getter = isClosed) BOOL close; +@property (NS_NONATOMIC_IOSONLY, readonly) BOOL close; @end