title: How I can iterate and get all values in a NSDictionary?
body: <p>I have a problem.</p>
  
  <p>I am using the XMLReader class to get a <code>NSDictionary</code> and everything works fine. But i can't to get the values of the atributes of my productData element.</p>
  
  <p>Specifically, I have the following <code>NSDictionary</code>:</p>
  
  <pre><code>{
  response = {
    products = {
     productsData = (
      {
      alias = "Product 1";
      id = 01;
      price = "10";
      },
      {
      alias = "Product 2";
      id = 02;
      price = "20";
      },
      {
      alias = "Product 3";
      id = 03;
      price = "30";
    });
   };
  };
  }
  </code></pre>
  
  <p>I used this code to create de <code>NSDictionary</code>:</p>
  
  <pre><code>NSDictionary *dictionary = [XMLReader dictionaryForXMLData:responseData error:&amp;parseError];
  </code></pre>
  
  <p>and responseData contains:</p>
  
  <pre><code>&lt;application&gt;
    &lt;products&gt;
      &lt;productData&gt;
        &lt;id&gt;01&lt;/id&gt;
        &lt;price&gt;10&lt;/price&gt;
        &lt;alias&gt;Product 1&lt;/alias&gt;
      &lt;/productData&gt;
      &lt;productData&gt;
        &lt;id&gt;02&lt;/id&gt;
        &lt;price&gt;20&lt;/price&gt;
        &lt;alias&gt;Product 2&lt;/alias&gt;
      &lt;/productData&gt;
      &lt;productData&gt;
        &lt;id&gt;02&lt;/id&gt;
        &lt;price&gt;20&lt;/price&gt;
        &lt;alias&gt;Product 3&lt;/alias&gt;
      &lt;/productData&gt;
    &lt;/products&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>Then, i don't know how get the values of each productData like id, price and alias...</p>
  
  <p>Anybody know how to do it??</p>
  
  <p>Thanks and please forgive my bad english !</p>