• 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
EOSortOrdering and keypaths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOSortOrdering and keypaths


  • Subject: EOSortOrdering and keypaths
  • From: "Andrew R. Kinnie" <email@hidden>
  • Date: Sun, 20 Jun 2010 12:24:27 -0400

Greetings:

I am drawing a blank here, and am trying to think of how to create an EOSortOrdering across a key path.

I have an entity Booking which has one date and one Performance.  Performance is an entity which has one PerformanceType.  PerformanceType is an entity which has a name attribute (a String).  I want to sort the results of a fetch by the date and by name of the Performance's Performance type.  The date is pretty obvious, but the Performance type is confusing me.  So how would I create a sort ordering for an array of Bookings to sort based on the key path aBooking.performance.performanceType.name.

Any ideas would be appreciated.  This seems like it should be obvious, but I'm drawing a blank.

Andrew
 _______________________________________________
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

  • Follow-Ups:
    • Re: EOSortOrdering and keypaths
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Session Problem for J2ee deployment
  • Next by Date: Re: EOSortOrdering and keypaths
  • Previous by thread: Re: WO MacOS[Server]ClassPath.txt settings?
  • Next by thread: Re: EOSortOrdering and keypaths
  • Index(es):
    • Date
    • Thread