adding objects to mutable dictionary...
adding objects to mutable dictionary...
- Subject: adding objects to mutable dictionary...
- From: email@hidden
- Date: Thu, 19 Feb 2004 16:26:23 -0800
When i cycle through an array and add the objects to a mutable
dictionary the order becoming all jumbled? i would think that they
would stay in the same order but apparently not...
here is the order of the first 6 objects in the array:
First Name
Last Name
Work Phone
Home Phone
Main Phone
Mobile Phone
then after i cycle through them and add them to a dictionary these are
the first 6:
MSN
ICQ
Father
Home Phone
Custom Chat Services
Home Email
this set i retrieved by just enumerating through the dictionary after i
added them?
my question is by using setObject wouldn't just add 1after another in
order? but it doesn't seem to be is there some logic to the way it adds
them or not? ie alphabetically or other wise or should i retrieve them
differently?
_______________________________________________
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.