// response is of type AnyObject!
let responseDic = response as [String : AnyObject]
let userDic = responseDic["user"] as [String : AnyObject]
However, on the last line, I get the error:
'(String, AnyObject)' is not convertible to '[String : AnyObject]'
So I'm guessing looking up a key in a dictionary returns an optional value, so then I tried:
let userDic = responseDic["user"]? as [String : AnyObject]
But I get:
'String' is not convertible to 'DictionaryIndex<String, AnyObject>'
What's the proper way to get this to work?