• 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
NSTreeController and two relations for one entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeController and two relations for one entity


  • Subject: NSTreeController and two relations for one entity
  • From: Xander Maas <email@hidden>
  • Date: Mon, 13 Aug 2007 19:48:33 +0200

Hi all,

I am having trouble understanding how I can solve a little puzzle I have:

I have an entity (services) which in itself has two relations, one to my customers entity one to my contacts entity.

I have set up my NSTreeController, thanks again for the help in this list, so I now have my customers shown with their respective contacts.

What I want to eccomplish is that when I select a customer I can show the info from my services entity which relate to that customer and the service details when I select the contact.

A bit like Mail.app for the mailbox tree. Or should I create two entities for the service details, one for my contacts and one for my customers?

Regards,

Xander Maas
_______________________________________________

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


  • Follow-Ups:
    • Re: NSTreeController and two relations for one entity
      • From: Diederik Hoogenboom <email@hidden>
  • Prev by Date: Re: Cocoa and PICT
  • Next by Date: Re: Tidy up before saving
  • Previous by thread: Re: Shouldn't be (null) - pathForResource:ofType:inDirectory:forLocalization:
  • Next by thread: Re: NSTreeController and two relations for one entity
  • Index(es):
    • Date
    • Thread