title: Attempting to create a dictionary through iteration and geocoding
body: <p>I have a list of address on Parse that I am trying to put into a dictionary with the following format : <code>[CLLocation:PFObject]</code>, so basically I am geocoding each address from an array of PFObjects I have called <code>price</code> and storing the corresponding PFObject into my dictionary restaurantDict. Unfortunately when I try printing out my dictionary I get a bunch of empty cells. Is there an issues with sending geocode requests in a loop like this?</p>
  
  <pre><code> for price in prices {
      var location:String = price.objectForKey("Address") as String
      geoCoder.geocodeAddressString(location, completionHandler:
          {(placemarks: [AnyObject]!, error: NSError!) in
              if error != nil {
                  println("Geocode failed with error: \(error.localizedDescription)")
              } else if placemarks.count &gt; 0 {
                  var placemark = placemarks[0] as CLPlacemark
                  var location = placemark.location
                  var coordinateLocation:CLLocation = CLLocation(latitude: location.coordinate.latitude, longitude: location.coordinate.longitude) as CLLocation
                  self.restaurantDict[coordinateLocation] = price as PFObject
                  print(i)
                  i++
              }
  })
  </code></pre>