Re: NSTreeController and CoreData question
Re: NSTreeController and CoreData question
- Subject: Re: NSTreeController and CoreData question
- From: Steve Steinitz <email@hidden>
- Date: Tue, 26 May 2009 13:42:10 +1000
Hi Scott
On 25/5/09, email@hidden wrote:
I am working on a CoreData project but want some advice on
using an Outline View. My relationships are setup like so.
They don't have a parent/child entry. The entries more match
the read data.
Project
...
Tragets
Sources (one to many to sources)
I know i have a few options.
...
I think what makes this tricky is that this isn't just a
simple one to one relationship and is what is throwing me off.
I understand everything up to that last sentence. That aside,
if you just want to display their names in the outline view and
their name attribute has a consistent attribute name (like, say,
"name" :) then each entity could have a children method (for the
treeController binding) that returned the relevant objects.
Cheers,
Steve
_______________________________________________
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