here is what i do to parse int value:
anyObj = try NSJSONSerialization.JSONObjectWithData(data!, options: []) as! Dictionary<String,AnyObject>
let categoryId = String(anyObj["id"])
let link = "categoryId" + categoryId
print(link)
where categoryId is integer value
here is what i got :
/category/Optional(127)
How to remove the word optional ?
NOTE: i have looked at this question. also i have tried this also let link = "categoryId" + categoryId! but without luck
thanks