Fix testCase and apply modern Objc

This commit is contained in:
Ahmed Hamdy
2015-06-06 20:43:47 +03:00
parent af85bf97a9
commit 8d2b39b5ec
6 changed files with 801 additions and 1485 deletions
+3 -3
View File
@@ -40,12 +40,12 @@
+ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath;
+ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath keepParentDirectory:(BOOL)keepParentDirectory;
- (id)initWithPath:(NSString *)path;
- (BOOL)open;
- (instancetype)initWithPath:(NSString *)path NS_DESIGNATED_INITIALIZER;
@property (NS_NONATOMIC_IOSONLY, readonly) BOOL open;
- (BOOL)writeFile:(NSString *)path;
- (BOOL)writeFileAtPath:(NSString *)path withFileName:(NSString *)fileName;
- (BOOL)writeData:(NSData *)data filename:(NSString *)filename;
- (BOOL)close;
@property (NS_NONATOMIC_IOSONLY, readonly) BOOL close;
@end