Created
September 9, 2016 06:44
-
-
Save roblav96/519e35ce9755603928da736998107950 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class ZipDelegate | |
extends NSObject | |
implements SSZipArchiveDelegate { | |
static ObjCProtocols = [SSZipArchiveDelegate] | |
init(): ZipDelegate { | |
return <ZipDelegate>super.init() | |
} | |
zipArchiveDidUnzipArchiveFileEntryPathDestPath( | |
zipFile: string, | |
entryPath: string, | |
destPath: string | |
) { | |
global.tnsconsole.log('zipArchiveDidUnzipArchiveFileEntryPathDestPath') | |
global.tnsconsole.log('zipFile', zipFile) | |
global.tnsconsole.log('entryPath', entryPath) | |
global.tnsconsole.log('destPath', destPath) | |
} | |
zipArchiveProgressEventTotal(loaded: number, total: number) { | |
global.tnsconsole.log('loaded', loaded) | |
global.tnsconsole.log('total', total) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment