Help to deal with the north comes here such a dixheneri, you need to get the coordinates from it.

2016-10-09 13:40:04.022 MapOfEurope[3145:1024590] ( ( ( "31.191409", "-22.25151" ), ( "32.654886", "-18.67209" ), ( "32.611994", "-19.419383" ), ( "32.772708", "-19.715592" ), ( "32.659743", "-20.30429" ), ( "32.508693", "-20.395292" ), ( "32.244988", "-21.116489" ), ( "31.191409", "-22.25151" ) ) 

I do not know what to do with it, there are no keys ...

  • What would you like to do with it? - Kromster
  • I need to get the coordinates. - Victor Mishustin
  • Indicate this in the question itself. - Kromster
  • If there are no keys, this is a list. Your K. O. - VladD

1 answer 1

As already indicated in the comments - this is an array. You can parse it for example

 NSArray *array = @[@[@"1",@"2"],@[@"3",@"4"]]; [array enumerateObjectsUsingBlock:^(NSArray *obj, NSUInteger idx, BOOL * _Nonnull stop) { NSLog(@"lat %@", obj[0]); NSLog(@"lon %@", obj[1]); }]; 
  • Thank you so much - Victor Mishustin