• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSEnumerator ordering ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEnumerator ordering ?


  • Subject: Re: NSEnumerator ordering ?
  • From: Otto Poellath <email@hidden>
  • Date: Wed, 3 Jul 2002 16:30:19 +0200

Hmm, dictionaries are unordered by definition. But maybe you could store the ordered keys in an NSArray and include it in the NSDictionary as well?

HTH,
-Otto.


Hi lists,

Actually, i'm creating a NSDictionary from a plist file. The ordering of items is very important for my application. But when, i get the keys or the values of my NSDictionary via NSEnumerator, the ordering is quite like random...

If there someone who could help me to get the keys or the values as they were at the beginning ?

----
Guillaume Rager - email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSEnumerator ordering ?
      • From: Marcel Weiher <email@hidden>
References: 
 >NSEnumerator ordering ? (From: Guillaume Rager <email@hidden>)

  • Prev by Date: Re: Cocoa stripping resource forks: does Jaguar fix?
  • Next by Date: Re: Cocoa stripping resource forks: does Jaguar fix?
  • Previous by thread: NSEnumerator ordering ?
  • Next by thread: Re: NSEnumerator ordering ?
  • Index(es):
    • Date
    • Thread