I have NSMutableArray:
userCoordinates = [[d objectForKey:@"geo"] objectForKey:@"coordinates"];
NSLog(@"%@",userCoordinates);
NSLog shows:
(
"19.365367",
"-99.159887"
)
Then I need to convert this array to CllocationCoordinate2D to use it for create annotation.
Sorry my english. Thanks.
It seems that your array contains two
NSStringobjects – to convert them to the appropriate floating-point numbers, use thedoubleValuemethod ofNSString: