Re: Need to force Lex-Order?
Re: Need to force Lex-Order?
- Subject: Re: Need to force Lex-Order?
- From: Michael Hanna <email@hidden>
- Date: Thu, 31 Jul 2003 23:19:46 -0400
So can I store these arrays in a property list(s)? Or do I have to
hard-code them into the code. I'm not sure how to open property lists
that do not consist of Dictionaries.
Michael
On Thursday, July 31, 2003, at 10:59 PM, Pete Yandell wrote:
Michael,
On Friday, 1 August 2003, at 12:39 PM, Michael Hanna wrote:
Lex-order is something that I need to depend on.
Then you shouldn't be using a dictionary. Dictionaries, by definition,
are unordered so the keys and values can come out of them in any > order.
The easy alternative is to use two arrays: one for keys and one for
values. Or perhaps an array of key-value pairs.
Pete Yandell
http://pete.yandell.com/
_______________________________________________
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.