title: Converting NSDictionary initWithObjectAndKeys
body: <p>New to using NSDictionary but need some pointers as to what I'm doing wrong.</p>
  
  <p>I have an NSDictionary that stores floating point values for coordinates:</p>
  
  <p>Header:</p>
  
  <pre><code>@class DetailViewController;
  @interface MasterViewController : UITableViewController
  @property (strong, nonatomic) DetailViewController *detailViewController;
  @property (strong, nonatomic) NSArray *DestinationData;
  @property (strong, nonatomic) NSArray *DestinationSections;
  
  - (void)createDestinations;
  </code></pre>
  
  <p>Main:</p>
  
  <pre><code>@implementation MasterViewController
  
  @synthesize detailViewController = _detailViewController;
  @synthesize DestinationData;
  @synthesize DestinationSections;
  
  NSMutableArray *museumArray;
  
  self.DestinationSections=[[NSArray alloc]initWithObjects:
                            ... 
                            ...
                            (@"Museums"), nil];
  
  [museumsArray addObject:[[NSDictionary alloc]
                     initWithObjectsAndKeys:@"Museum",@"Name",
                     @"51.5189100",@"Dest Lat",
                     @"-0.1263840",@"Dest Long",
                     nil]];
  
  self.DestinationData=[[NSArray alloc] initWithObjects:
  museumsArray, nil];
  </code></pre>
  
  <p>I want to be able to return the value from the dictionary and use it with CLLocationCoordinate2D:</p>
  
  <p>In DetailViewController.m:</p>
  
  <pre><code>CLLocationCoordinate2D destinationLocation;
  </code></pre>
  
  <p>How do I set this value assuming it should be double?</p>
  
  <pre><code>destinationLocation.latitude = [[self.detailItem objectForKey:@"Dest Lat"] doubleValue];
  destinationLocation.longitude = [[self.detailItem objectForKey:@"Dest Long"] doubleValue];
  
  MapViewAnnotation *destAnnotation = [[MapViewAnnotation alloc] initWithTitle:@"British Museum" andCoordinate:destinationLocation];
  [self.detailGoogleMap addAnnotation:destAnnotation];
  </code></pre>