diff --git a/examples/Sample/Sample/FileBrowser.swift b/examples/Sample/Sample/FileBrowser.swift index e47ef37e22b03d064972e32f986a9c51676d6641..b1915e33514467b218cc2b3a20ddd6444999b9f4 100644 --- a/examples/Sample/Sample/FileBrowser.swift +++ b/examples/Sample/Sample/FileBrowser.swift @@ -139,7 +139,7 @@ class FileBrowser: UIViewController, UITableViewDataSource, UITableViewDelegate let filePath = selectedFiles.first let pathURL = path!.URLByAppendingPathComponent(filePath!) do { - try Zip().quickUnzipFile(pathURL) + try Zip.quickUnzipFile(pathURL) self.selectedFiles.removeAll() updateSelection() updateFiles() @@ -154,7 +154,7 @@ class FileBrowser: UIViewController, UITableViewDataSource, UITableViewDelegate urlPaths.append(path!.URLByAppendingPathComponent(filePath)) } do { - try Zip().quickZipFiles(urlPaths, fileName: "Archive") + try Zip.quickZipFiles(urlPaths, fileName: "Archive") self.selectedFiles.removeAll() updateSelection() updateFiles()