core data key value path
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