tto: Re: allKeys and allValues
On Oct 4, 2010, at 2:31 PM, Ken Thomases wrote:
> On Oct 4, 2010, at 4:21 PM, gMail.com <http://gMail.com> wrote:
>> On the docs I read that for both the NSDictionary's allKeys and allValues,
>> the order of the elements in the array is not define
if([ID isEqualToString:@"inID"])
return item;
}
--
Leo
> Da: Ken Thomases
> Data: Mon, 4 Oct 2010 16:31:17 -0500
> A: "gMail.com"
> Cc:
> Oggetto: Re: allKeys and allValues
>
> On Oct 4, 2010, at 4:21 PM, gMail.com wrote:
>
>> On th
Or do something like:
NSArray * allKeys = [dictionary allKeys];
NSArray * allValues = [dictionary objectsForKeys:allKeys notFoundMarker:[NSNull
null]];
This also guarantees a 1-to-1 correspondance.
Dave
On Oct 4, 2010, at 3:40 PM, Greg Parker wrote:
> The documentation for CFDictionaryGetKeys
On Oct 4, 2010, at 2:31 PM, Ken Thomases wrote:
> On Oct 4, 2010, at 4:21 PM, gMail.com wrote:
>> On the docs I read that for both the NSDictionary's allKeys and allValues,
>> the order of the elements in the array is not defined. Ok.
>> But, are the two arrays aligned ea
On Oct 4, 2010, at 4:21 PM, gMail.com wrote:
> On the docs I read that for both the NSDictionary's allKeys and allValues,
> the order of the elements in the array is not defined. Ok.
> But, are the two arrays aligned each other?
If the docs don't contain that promise, then y
On Oct 4, 2010, at 3:21 PM, gMail.com wrote:
> On the docs I read that for both the NSDictionary's allKeys and allValues,
> the order of the elements in the array is not defined. Ok.
> But, are the two arrays aligned each other?
>
> I mean, I have a dictionary containing s
Hi,
On the docs I read that for both the NSDictionary's allKeys and allValues,
the order of the elements in the array is not defined. Ok.
But, are the two arrays aligned each other?
I mean, I have a dictionary containing several entries whose key is, e.g.
@"0", @"3"