Bläddra i källkod

Fixed compiler warnings in the example app.

Christian Noon 10 år sedan
förälder
incheckning
451b97edab
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
                 }