• 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
Re: NSTreeController and CoreData question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSTreeController and CoreData question (From: Steve Steinitz <email@hidden>)

  • Prev by Date: Re: NSTreeController and CoreData question
  • Next by Date: RE: How to safely break read stream?
  • Previous by thread: Re: NSTreeController and CoreData question
  • Next by thread: what is the easy way to update all bound controls
  • Index(es):
    • Date
    • Thread