Re: Keypaths
Re: Keypaths
- Subject: Re: Keypaths
- From: Scott Anguish <email@hidden>
- Date: Tue, 15 Jul 2008 20:22:43 -0400
On 15-Jul-08, at 4:08 PM, Kyle Sluder wrote:
On Tue, Jul 15, 2008 at 8:41 AM, Hamish Allan <email@hidden>
wrote:
If you were using Core Data, expressing your familial relations as
to-many relationships with inverses, it would be straightforward to
achieve the query you want (and indeed, to create a GUI for that
query).
In fact, as long as you have modeled relationships from parent to
child you can do it, Core Data or not. Get a reference to Balbo and
Ponto and then use a keypath involving @distinctUnionOfArrays to get
to it. A bit of set theory is helpful here.
The Key-Value Coding Programming Guide has more info on this,
including a sample data relationship and what the various operators
will return when used.
http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/ArrayOperators.html#/
/apple_ref/doc/uid/20002176
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
References: | |
| >Keypaths (From: Niklas Saers <email@hidden>) |
| >Re: Keypaths (From: "Hamish Allan" <email@hidden>) |
| >Re: Keypaths (From: "Kyle Sluder" <email@hidden>) |