ソースを参照

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

Wolfgang Lutz 9 年 前
コミット
4dfef9b341
1 ファイル変更1 行追加1 行削除
  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"]