title: Parsing an MKMapItem with iOS
body: <p>I want access to the data in a <code>MKMapItem</code> object. After searching for information, I am asking the community. According to the Apple class reference, there are these properties:   </p>
  
  <ul>
  <li>placemark</li>
  <li>isCurrentLocation</li>
  <li>name</li>
  <li>phone number</li>
  <li>url</li>
  </ul>
  
  <p>If I log an <code>MKMapItem</code> I get what appears as a JSON dictionary of dictionaries such as: </p>
  
  <ul>
  <li>Address</li>
  <li>structured address</li>
  <li>center</li>
  <li>locality</li>
  <li>etc... </li>
  </ul>
  
  <p>Many of the items contain information that I want, which are not default properties of <code>MKMapItem</code>. Is there a way to parse and model these items? I have tried </p>
  
  <pre><code> NSDictionary *mapItemDictionary = (NSDictionary *)mapItem;
  
  [mapItemDictionary valueForKey:@"key"];
  </code></pre>
  
  <p>, which results in a crash: </p>
  
  <blockquote>
    <p><code>[&lt;MKMapItem 0xb02d830&gt; valueForUndefinedKey:]:</code> this class is not key value coding-compliant for the key address.</p>
  </blockquote>