{"action":"created","issue":{"url":"https://api.github.com/repos/SwiftyJSON/Alamofire-SwiftyJSON/issues/21","labels_url":"https://api.github.com/repos/SwiftyJSON/Alamofire-SwiftyJSON/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/SwiftyJSON/Alamofire-SwiftyJSON/issues/21/comments","events_url":"https://api.github.com/repos/SwiftyJSON/Alamofire-SwiftyJSON/issues/21/events","html_url":"https://github.com/SwiftyJSON/Alamofire-SwiftyJSON/issues/21","id":67292717,"number":21,"title":"Ambiguous use of 'responseSwiftyJSON'","user":{"login":"valzevul","id":1641159,"avatar_url":"https://avatars.githubusercontent.com/u/1641159?v=3","gravatar_id":"","url":"https://api.github.com/users/valzevul","html_url":"https://github.com/valzevul","followers_url":"https://api.github.com/users/valzevul/followers","following_url":"https://api.github.com/users/valzevul/following{/other_user}","gists_url":"https://api.github.com/users/valzevul/gists{/gist_id}","starred_url":"https://api.github.com/users/valzevul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valzevul/subscriptions","organizations_url":"https://api.github.com/users/valzevul/orgs","repos_url":"https://api.github.com/users/valzevul/repos","events_url":"https://api.github.com/users/valzevul/events{/privacy}","received_events_url":"https://api.github.com/users/valzevul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-09T06:43:39Z","updated_at":"2015-04-19T17:44:29Z","closed_at":null,"body":"Hello,\r\n\r\nafter installing Xcode 6.3 the following code\r\n```\r\nAlamofire .request(.POST, url, parameters: data) .responseSwiftyJSON { (_, _, json, error) in\r\n    if (error != nil) {\r\n        println(\"Error with registration: \\(error?.localizedDescription)\")\r\n     } else {\r\n        println(\"Success!\")\r\n    }\r\n}\r\n```\r\nproduces the problem \"Ambiguous use of 'responseSwiftyJSON'\"."},"comment":{"url":"https://api.github.com/repos/SwiftyJSON/Alamofire-SwiftyJSON/issues/comments/94299971","html_url":"https://github.com/SwiftyJSON/Alamofire-SwiftyJSON/issues/21#issuecomment-94299971","issue_url":"https://api.github.com/repos/SwiftyJSON/Alamofire-SwiftyJSON/issues/21","id":94299971,"user":{"login":"kishikawakatsumi","id":40610,"avatar_url":"https://avatars.githubusercontent.com/u/40610?v=3","gravatar_id":"","url":"https://api.github.com/users/kishikawakatsumi","html_url":"https://github.com/kishikawakatsumi","followers_url":"https://api.github.com/users/kishikawakatsumi/followers","following_url":"https://api.github.com/users/kishikawakatsumi/following{/other_user}","gists_url":"https://api.github.com/users/kishikawakatsumi/gists{/gist_id}","starred_url":"https://api.github.com/users/kishikawakatsumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishikawakatsumi/subscriptions","organizations_url":"https://api.github.com/users/kishikawakatsumi/orgs","repos_url":"https://api.github.com/users/kishikawakatsumi/repos","events_url":"https://api.github.com/users/kishikawakatsumi/events{/privacy}","received_events_url":"https://api.github.com/users/kishikawakatsumi/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T17:44:29Z","updated_at":"2015-04-19T17:44:29Z","body":"To resolve this problem, without using trailing closure syntax, enclose the last closure in parentheses.\r\nLike below:\r\n\r\n```swift\r\nAlamofire.request(.POST, url, parameters: data).responseSwiftyJSON({ (_, _, json, error) in\r\n    if (error != nil) {\r\n        println(\"Error with registration: \\(error?.localizedDescription)\")\r\n    } else {\r\n        println(\"Success!\")\r\n    }\r\n})\r\n```\r\n"}}