• 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
Core Data: Binding one NSTableView to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data: Binding one NSTableView to another


  • Subject: Core Data: Binding one NSTableView to another
  • From: "J. Scott Anderson" <email@hidden>
  • Date: Mon, 27 Jun 2005 12:22:59 -0500

I have a problem that is similar but not quite enough to the Master- Detail example. I want to connect NSTableView to another via Bindings such that a selection in the first NSTableview shows related content in the other.

There are two Core Data Entities and each has two Attributes. Entity1 is related to Entity2 (To Many, Inverse and To One, Inverse). I am doing nothing buy trying to get a selection in Table1 (connected by managedObjectContext to Entity1 and an Array Controller) to show a collection of items in Table2. Here is where the problem seems to be. I have read the documents and have just tried various combinations of connections for the Array Controller for Table2 and its related entity (Entity2). But everything I do gets me varying levels of errors including things like not compliant with KVO, etc. I have no custom classes. Everything is default. I have only tried various types of Bindings.

Any help, examples, documentation, that I missed would be greatly appreciated. I know that I am missing something important, but I do not know what.





******************
J. Scott Anderson




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Core Data: Binding one NSTableView to another
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: [SOLVED] NSXMLParser trouble
  • Next by Date: Re: Convert PICT to NSImage
  • Previous by thread: Re: [SOLVED] NSXMLParser trouble
  • Next by thread: Re: Core Data: Binding one NSTableView to another
  • Index(es):
    • Date
    • Thread