I need to fetch a NSString from the NSMutableDictionary and assign it to UITextField's text.
But I am getting an exception ; unexpectedly found nil while unwrapping an Optional value
When I log the string it writes to console.
My code is as below;
let tempString:NSString! = tempDict.objectForKey("name") as? NSString
NSLog("%@",tempString)
cell.textLabel.text = tempString //This line gives the exception