title: how to get records of contacts from NSMutableArray in iPhone
body: <p>I have an array of dictionary for contact details. I am trying to add that record in <code>ABRecordRef</code>, but I don't understand how it works. Here is my code:</p>
  
  <pre><code>for (int i = 0; i &lt;= [contactArray count]; i++)
  {
      ABRecordRef person = (ABRecordRef)[contactArray objectAtIndex:i];
      ABAddressBookAddRecord(addressBook, group, &amp;error);
      ABAddressBookSave(addressBook, &amp;error);
  }
  </code></pre>
  
  <p>I am trying to add this contact records into group using <code>ABGroupAddMember</code>. Now how can I get the records from <code>NSMutableArray</code>. Any help will be greatly appreciated. Thank you.</p>