Parse Alamofire Router
This code was generated using an internal module (open sourcing soon). The generated code was slightly tweaked for persisting parse sessions.
Browse the full code here
ParseRouter.RestAPIKey = "parse-rest-api-key"
ParseRouter.AppId = "parse-application-id"
let userObjectId = "someObjectId"
Alamofire.request(ParseRouter.GetUser(userObjectId))
.responseJSON { response in
if let JSON = response.result.value {
print("JSON: \(JSON)")
}
}