• 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: Ondra Cada <email@hidden>
  • Date: Wed, 3 Jul 2002 22:24:19 +0200

On Wednesday, July 3, 2002, at 09:18 , Simon Fraser wrote:

On this same note, doesn't it seem odd that the format of Info.plist
files is such that entry order matters? Entries are ordered like:

<key>foobar</key>
<string>keyvalue</string>

rather than nesting the key value under the key, something like:

<key name="foobar>keyvalue</key>

whichi is what a good XML citizen would use.

Maybe. XML is not my cup of tea, so I can't say. The only thing which -- as a XML-utterly-uneducated! -- I don't like on your design is the (apparently?) different position of key and value -- the one being a tag's attribute, the other being a plaintext value just delimited by tags. What if the key itself happens not to be a string; a structured object perhaps?
Would it not make a problem in your design?
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: email@hidden (Simon Fraser)
References: 
 >Re: NSEnumerator ordering ? (From: email@hidden (Simon Fraser))

  • 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: Re: NSEnumerator ordering ?
  • Next by thread: Re: NSEnumerator ordering ?
  • Index(es):
    • Date
    • Thread