/parse-alamofire-router

Generated (but slightly tweaked) Parse Alamofire Router

Primary LanguageSwift

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

Example Usage

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)")
    }
  }