From 03f70718a22577dd63cc021bbdff37b73969d900 Mon Sep 17 00:00:00 2001 From: ClementPadovani Date: Tue, 17 Nov 2015 15:17:13 +0100 Subject: [PATCH] Added getters. Updated `BOOL` getters for `open` and `close`. --- SSZipArchive/SSZipArchive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SSZipArchive/SSZipArchive.h b/SSZipArchive/SSZipArchive.h index 6b4daba..6ad39f5 100644 --- a/SSZipArchive/SSZipArchive.h +++ b/SSZipArchive/SSZipArchive.h @@ -41,11 +41,11 @@ + (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath keepParentDirectory:(BOOL)keepParentDirectory; - (instancetype)initWithPath:(NSString *)path; -@property (NS_NONATOMIC_IOSONLY, readonly) BOOL open; +@property (NS_NONATOMIC_IOSONLY, readonly, getter = isOpen) BOOL open; - (BOOL)writeFile:(NSString *)path; - (BOOL)writeFileAtPath:(NSString *)path withFileName:(NSString *)fileName; - (BOOL)writeData:(NSData *)data filename:(NSString *)filename; -@property (NS_NONATOMIC_IOSONLY, readonly) BOOL close; +@property (NS_NONATOMIC_IOSONLY, readonly, getter = isClosed) BOOL close; @end