提交 bdbfc4ef 编写于 作者: M Mattt Thompson

Merge pull request #120 from ricardopereira/patch-1

Update README.md - unwrap pathComponent
......@@ -222,7 +222,7 @@ Alamofire.download(.GET, "http://httpbin.org/stream/100", destination: { (tempor
as? NSURL {
let pathComponent = response.suggestedFilename
return directoryURL.URLByAppendingPathComponent(pathComponent)
return directoryURL.URLByAppendingPathComponent(pathComponent!)
}
return temporaryURL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册