Re: NSTreeController and CoreData question
Re: NSTreeController and CoreData question
- Subject: Re: NSTreeController and CoreData question
- From: Scott Andrew <email@hidden>
- Date: Mon, 25 May 2009 20:49:22 -0700
Actually. That makes it alot simpler. There is some selection and
addition logic but that should be simple enough.. Like i said i am
just over thinking it.
Scott Andrew
On May 25, 2009, at 8:42 PM, Steve Steinitz wrote:
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