mercredi 28 janvier 2015

Swift: How set JSON object from Alamofire as a variable?

this one's more of a simple question. I need to know how to set a JSON object I am retrieving from the backend as a variable so I can start parsing it with SwiftyJSON.



Alamofire.request(.GET, getJsonURL).responseJSON {
(request, response, JSON, error) in
println(JSON)
}



Aucun commentaire:

Enregistrer un commentaire