Explorar o código

Fixed compiler warnings in the example app.

Christian Noon %!s(int64=10) %!d(string=hai) anos
pai
achega
451b97edab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Example/MasterViewController.swift

+ 1 - 1
Example/MasterViewController.swift

@@ -68,7 +68,7 @@ class MasterViewController: UITableViewController {
                     case "DOWNLOAD":
                         detailViewController.segueIdentifier = "DOWNLOAD"
                         let destination = Alamofire.Request.suggestedDownloadDestination(directory: .CachesDirectory, domain: .UserDomainMask)
-                        return Alamofire.download(.GET, "http://httpbin.org/stream/1", destination)                    
+                        return Alamofire.download(.GET, "http://httpbin.org/stream/1", destination: destination)
                     default:
                         return nil
                 }