2015-07-11 23:56:45 +01:00
|
|
|
//
|
2015-10-23 14:15:31 -04:00
|
|
|
// Created by chris on 8/1/12.
|
2015-07-11 23:56:45 +01:00
|
|
|
//
|
2015-10-23 14:15:31 -04:00
|
|
|
// To change the template use AppCode | Preferences | File Templates.
|
2015-07-11 23:56:45 +01:00
|
|
|
//
|
|
|
|
|
|
2015-10-23 14:15:31 -04:00
|
|
|
|
2015-07-11 23:56:45 +01:00
|
|
|
#import "CollectingDelegate.h"
|
|
|
|
|
|
2015-10-23 14:15:31 -04:00
|
|
|
@implementation CollectingDelegate {
|
|
|
|
|
|
|
|
|
|
}
|
2015-07-11 23:56:45 +01:00
|
|
|
@synthesize files = _files;
|
|
|
|
|
|
2015-10-23 14:15:31 -04:00
|
|
|
|
2015-07-11 23:56:45 +01:00
|
|
|
- (instancetype)init {
|
|
|
|
|
self = [super init];
|
|
|
|
|
if (self) {
|
|
|
|
|
self.files = [NSMutableArray array];
|
|
|
|
|
}
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-23 14:15:31 -04:00
|
|
|
- (void)zipArchiveDidUnzipArchiveFile:(NSString *)zipFile entryPath:(NSString *)entryPath destPath:(NSString *)destPath {
|
2015-07-11 23:56:45 +01:00
|
|
|
[self.files addObject:entryPath];
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-23 14:15:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-11 23:56:45 +01:00
|
|
|
@end
|