I just installed Alamofire 3.0 with swift 2.2 and xcode 7.3.1
When I try to make the request as in the example at:
xcode says this:
I can not understand why
You have your request outside a function. Put it inside a
function or in
viewDidLoad and it will work for you.