• 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
core data key value path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core data key value path


  • Subject: core data key value path
  • From: Camille GOUREAU-SUIGNARD <email@hidden>
  • Date: Sat, 24 Feb 2007 14:55:27 +0100

Hi,

I use core data, with several entities linked via relationships.

Entity A has a to one relashionship (named: 'relat') to entity B.
Entity B has an attribute named 'attrib'.

I have an NSarray containig A instances.
i would like to sort that array on relat.attrib key value.

[anArray sortedArrayUsingDescriptors: [NSArray arrayWithObject: @"relat.attrib"]]
does not work, beause 'relat.attrib is searched a an A key value.


How can I specify that it's a key value PATH ?

Thank you.


Et mon blog: www.lutin-ludique.com/bradype/


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: core data key value path
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Custom NSView That is iChat Chat Log Like
  • Next by Date: Re: Call of super from a custom NSCell in a custom NSControl
  • Previous by thread: Re: Bindings and multiple ArrayControllers
  • Next by thread: Re: core data key value path
  • Index(es):
    • Date
    • Thread