• 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: Ordered NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ordered NSDictionary


  • Subject: Re: Ordered NSDictionary
  • From: Larry Fransson <email@hidden>
  • Date: Thu, 10 Jun 2004 22:20:07 -0700

On Jun 10, 2004, at 19:22, Sam McCandlish wrote:

Does anyone know of a way to make NSDictionary keeps the objects' order? I may want to use it to store a configuration file, but in this configuration file order matters.

Not too long ago, I was doing something similar - I needed a dictionary with keys in a known and consistent order. I just created a class that had the dictionary and an array as members of the class. The array held the dictionary keys in a known order.

Larry Fransson
Seattle, WA
_______________________________________________
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.


References: 
 >Ordered NSDictionary (From: Sam McCandlish <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #4343 - 13 msgs
  • Next by Date: Re: Menu Mystery
  • Previous by thread: Ordered NSDictionary
  • Next by thread: Re: Ordered NSDictionary
  • Index(es):
    • Date
    • Thread