Re: Looking for an Ordered Dictionary
Re: Looking for an Ordered Dictionary
- Subject: Re: Looking for an Ordered Dictionary
- From: Scott Anguish <email@hidden>
- Date: Tue, 9 Apr 2002 02:02:40 -0400
wouldn't this just be an NSMutableArray of NSDictionary items?
Or do you need to be able to access by key as well?
if so, you're custom PWOrderedDictionary could be made up of an Array
and a dictionary and keep the keys in the array in order
On Tuesday, April 9, 2002, at 01:51 AM, Philip Weaver wrote:
I'm seeking some technique to hold a set of key/value pairs but keep
them IN ORDER. I would use NSDictionary but the keys are not
returned/stored in the order in which they are added - it is an
unordered collection.
Do I need to roll my own "OrderedDictionary" or are there other
NSFoundation classes that would suit my needs. Are there third party
classes or source code that I should refer to?
_______________________________________________
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.