For my app I need to convert a String to a double because I have to create a CLLocationObject for my App and therefore I need those doubles. Therefore I tried this:
let lat = (cityObject.lat as! NSString).doubleValue
if I print the normal String I get the following:
some("Optional(52.523553)") some("Optional(13.403783)")
and if I print my double value, I get the following:
0.0 0.0