Re: adding objects to mutable dictionary...
Re: adding objects to mutable dictionary...
- Subject: Re: adding objects to mutable dictionary...
- From: Chris Hanson <email@hidden>
- Date: Thu, 19 Feb 2004 20:45:58 -0500
On Feb 19, 2004, at 7:26 PM, email@hidden wrote:
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...
Why would you think that? They aren't documented to do so.
If you want the values for the keys of a dictionary in a particular
order, ask the dictionary for its collection of keys and then sort that
collection using a sort descriptor.
-- Chris
--
Chris Hanson <email@hidden>
bDistributed.com, Inc.
Outsourcing Vendor Evaluation
Custom Mac OS X Development
Cocoa Developer Training
_______________________________________________
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.