keys values in array like array[0] and so on
<p>I am using this code </p>

<pre><code>NSDictionary *yourDictionary;

NSArray * yourKeys;
yourKeys = [yourDictionary allValues];
</code></pre>

<p>to get the value of dictionary. But i want that  array output in this form : array[0] ,array[1] while I am getting the output in console as below:-</p>

<pre><code>2013-01-12 18:44:10.213 Birthday_Reminder[2871:c07] (
{
},
"Arpit Sihare")
</code></pre>

<p>and so on values.
so plz help me to get those values in this form and also I'm using KABPersonfirstnameproperty to retrieve those name from address book.</p>

<pre><code>  ABAddressBookRef addressBook = ABAddressBookCreate();
    NSArray *thePeople = (NSArray *)ABAddressBookCopyArrayOfAllPeople(addressBook);
    NSMutableArray* allPeoplesDicts = [NSMutableArray array];
    for (id person in thePeople)
    {
        ABMultiValueRef phone =(NSString*)ABRecordCopyValue(person, kABPersonPhoneProperty);
        NSString* name = (NSString *)ABRecordCopyCompositeName(person);
       // NSMutableArray* phones = [[NSMutableArray alloc] init];
        NSDictionary *phones=[[NSDictionary alloc]init ];
        for (CFIndex i = 0; i &lt; ABMultiValueGetCount(phones); i++)
        {
            NSString *phone = [(NSString *)ABMultiValueCopyValueAtIndex(phones,i) autorelease];
            [phones addObject:phone];
        }
        NSDictionary* personDict = [[NSDictionary alloc] initWithObjectsAndKeys:name,@"Name",phones,@"PhoneNumbers",nil];
        [phones release];


        NSArray * yourKeys;
        yourKeys = [personDict allValues];


        NSLog(@"%@",yourKeys);
        [allPeoplesDicts addObject:personDict];
        [personDict release];
    }
</code></pre>

<p>and I want firstname in array form that when i use nslog(@"%@",array[0]) it should print value stored in array first place and soon like array[1]....</p>
