Skip to content

Commit

Permalink
[PR 726] Updated the playground to use the result type.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschmid authored and cnoon committed Sep 6, 2015
1 parent 282eec6 commit d430180
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Alamofire.playground/section-1.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import XCPlayground
XCPSetExecutionShouldContinueIndefinitely()

Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
.responseString { request, response, string, _ in
print(request)
print(response)
print(string)
}
.responseString { request, response, result in
print(request)
print(response)
debugPrint(result)
}

0 comments on commit d430180

Please sign in to comment.