title: Using valueForKeyPath on NSDictionary if a key starts the @ symbol?
body: <p>I want to use <code>valueForKeyPath</code> on my <code>NSDictionary</code>, but the problem is that one of the keys is a string that starts with the @ symbol. I have no control over the naming of the key.</p>
  
  <p>I'm having problems trying to create the key path as I'm getting a format exception, even when trying to escape the @ symbol:</p>
  
  <p><strong>This works fine:</strong></p>
  
  <pre><code>[[[dict objectForKey:@"key1"] objectForKey:@"@specialKey"] objectForKey:@"key3"]
  </code></pre>
  
  <p><strong>However none of these work:</strong></p>
  
  <pre><code>[dict valueForKeyPath:@"key1.@specialKey.key3"]
  [dict valueForKeyPath:@"key1.@@specialKey.key3"]
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks,</p>
  
  <p>Mike</p>