I\'ve followed several tutorials on this, and as far as I can tell what I\'m doing should be working. I have the following json response from an api call
{
I think you want something like this:
ApiConnector.sharedInstance.login(emailText.text!, password: passwordText.text!) { (res) in if let id = res["Id"].string { // Do something. } }