title: Accessing value from array of objects
body: <p>I am having two arrays, Namely </p>
  
  <pre><code>NMutableArray* first;
  NMutableArray* second;
  </code></pre>
  
  <p>Now I am copying first object to the second array like</p>
  
  <pre><code>for (int i=0;i&lt;first.count; i++)
  {
   [second addObject:[first objectAtIndex:i];
  }
  </code></pre>
  
  <p>This is ok. I don't know how to access the value of the First Array. I tried like this ,</p>
  
  <pre><code>[second addObject:[[first objectAtIndex:i]name]];
  </code></pre>
  
  <p>I want to get the name value which is in the first object of first array. I tried using the above line, it is showing some warning. Please help me</p>