Forráskód Böngészése

[PR #1670] Fixed compiler issue with DownloadRequest in AF4 migration guide.

Wolfgang Lutz 9 éve
szülő
commit
4dfef9b341
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Documentation/Alamofire 4.0 Migration Guide.md

+ 1 - 1
Documentation/Alamofire 4.0 Migration Guide.md

@@ -184,7 +184,7 @@ Alamofire.download(.GET, urlString, parameters: parameters, encoding: .JSON, to:
 
 // Alamofire 4
 let fileURL: URL
-let destination: Request.DownloadFileDestination = { _, _ in 
+let destination: DownloadRequest.DownloadFileDestination = { _, _ in 
 	return (fileURL, [.createIntermediateDirectories, .removePreviousFile]) 
 }
 let parameters: Parameters = ["foo": "bar"]