NSDictionary key/object correspondence
NSDictionary key/object correspondence
- Subject: NSDictionary key/object correspondence
- From: Alan Nilsson <email@hidden>
- Date: Wed, 25 Sep 2002 15:09:51 -0700
In regards to the methods:
-(NSArray*) allKeys
-(NSArray*) allValues
Of the NSDictionary class, I see the docs say that the returned arrays will
be in no particular order, but if I call both methods will the returned
arrays have a one to one correspondence between them?
For example: if I have the key/value pair "key1" = "Value1" in a dictionary,
then if I call both allKeys and allValues, will the key value pair be at the
same index in their respective arrays?
Alan Nilsson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.