title: Assessing elements in plist iphone sdk
body: <p>ok i have a plist like this</p>
  
  <pre><code>`
  &lt;dict&gt;
  &lt;key&gt;Rows&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;WireSize&lt;/key&gt;
          &lt;string&gt;16 AWG&lt;/string&gt;
          &lt;key&gt;Children&lt;/key&gt;
          &lt;array&gt;
              &lt;dict&gt;
                  &lt;key&gt;Cooper 60°C (140°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Cooper 75°C (167°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Cooper 90°C (194°F)&lt;/key&gt;
                  &lt;string&gt;14&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Aluminum 60°C (140°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Aluminum 75°C (167°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Aluminum 90°C (194°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
      &lt;dict&gt;
          &lt;key&gt;WireSize&lt;/key&gt;
          &lt;string&gt;16 AWG&lt;/string&gt;
          &lt;key&gt;Children&lt;/key&gt;
          &lt;array&gt;
              &lt;dict&gt;
                  &lt;key&gt;Cooper 60°C (140°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Cooper 75°C (167°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Cooper 90°C (194°F)&lt;/key&gt;
                  &lt;string&gt;14&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Aluminum 60°C (140°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Aluminum 75°C (167°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
              &lt;dict&gt;
                  &lt;key&gt;Aluminum 90°C (194°F)&lt;/key&gt;
                  &lt;string&gt;0&lt;/string&gt;
              &lt;/dict&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  
  &lt;/array&gt;
  </code></pre>
  
  <p>` </p>
  
  <p>and been trying to read the values from it but not success</p>
  
  <p>i am using this code </p>
  
  <pre><code>enter NSBundle *bundle = [NSBundle mainBundle];
  NSString *plistPath = [bundle pathForResource:@"Table 310-16" ofType:@"plist"];
  NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath];
  
  for (id key in dictionary) {
      NSArray *array = [dictionary objectForKey:key];
      NSLog(@"key: %@, value: %@", key, [array objectAtIndex:0]);
  } here
  </code></pre>
  
  <p>and the results are </p>
  
  <pre><code>key: Rows, value: {
  Children =     (
              {
          "Cooper 60\U00b0C (140\U00b0F)" = 0;
      },
              {
          "Cooper 75\U00b0C (167\U00b0F)" = 0;
      },
              {
          "Cooper 90\U00b0C (194\U00b0F)" = 14;
      },
              {
          "Aluminum 60\U00b0C (140\U00b0F)" = 0;
      },
              {
          "Aluminum 75\U00b0C (167\U00b0F)" = 0;
      },
              {
          "Aluminum 90\U00b0C (194\U00b0F)" = 0;
      }
  );
  WireSize = "16 AWG";
  </code></pre>
  
  <p>}</p>
  
  <p>but still don't know how to get and specific value for example <strong>Aluminum 60°C (140°F)</strong> or <strong>14</strong>
  or <strong>16 AWG</strong>
  any help would be appresiated</p>
  
  <p>HP</p>