• 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: setting default order of entity fetches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting default order of entity fetches


  • Subject: Re: setting default order of entity fetches
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 24 Aug 2007 13:30:38 -0400

To many relationships probably should have been implemented as NSSet not NSArray. Properly they are sets and using NSArray deludes people into thinking it really is an ordered list. I'd guess that they used NSArray to avoid the NSSet overhead of verifying that an object is not in the set before adding it.
Almost all of EOF and WO should be NSSet instead of NSArray. The vast majority of API that returns an array doesn't really mean it. If you look at the EOF model stack impl in WOLips, you'll notice it's all Set, and it makes the API a lot more clear.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >setting default order of entity fetches (From: Lachlan Deck <email@hidden>)
 >Re: setting default order of entity fetches (From: Chuck Hill <email@hidden>)
 >Re: setting default order of entity fetches (From: Lachlan Deck <email@hidden>)
 >Re: setting default order of entity fetches (From: Chuck Hill <email@hidden>)
 >Re: setting default order of entity fetches (From: Lachlan Deck <email@hidden>)
 >Re: setting default order of entity fetches (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: setting default order of entity fetches
  • Next by Date: Re: setting default order of entity fetches
  • Previous by thread: Re: setting default order of entity fetches
  • Next by thread: Re: setting default order of entity fetches
  • Index(es):
    • Date
    • Thread