NSDictionary ordering
NSDictionary ordering
- Subject: NSDictionary ordering
- From: Anders Totland <email@hidden>
- Date: Sun, 21 Sep 2003 19:46:55 +0200
I know this is a kind of dumb question, but will the allKeys method of
an NSDictionary reliably return the same order if the dictionary is
unchanged?
Is there any kind of logic to their order?
Will the dictionary {A = anObject; B = anoherObject; C =
yetAnotherObject } return the same allKeys in ACocoaApp at seven in the
morning and AnotherCocoaApp at three in the evening?
If the one is loaded from a plist and the other is created
programaticcally?
Is there any kind of ordered dictionary, i.e. where the keys of allKeys
are a set, but also ordered?
"A guy once asked me for a cup of coffee. So I bit him."
_______________________________________________
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.