Commit 7e9b139d authored by Roy Marmelstein's avatar Roy Marmelstein

Updating example to support newer syntax

parent 567b97b2
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment