1

I have a master-detail interface. In the "master part" I show a list of people, in the "detail part" I show the detail of the selected person, including a list of things that the person has:

 master part               detail part
   |                           |
   v                           v
+--------------------+------------------------+
| Person1            | Detail of Person2      |
| Person2 (selected) |                        |
| Person3            | Thing1 of person2      |
| Person4            | Thing2 of person2      |
| Person5            | Thing3 of person2      |
+--------------------+------------------------+

People and things are placed in a Core Data-managed data model.

The "master part" is managed in the NSWindowController in which I have a NSArrayController connected, through Cocoa Bindings, to my people entities.

The "detail part" is managed in a separated NSViewController.

From this detail-NSViewController it is possible to use Cocoa Bindings to access to the selected person in the master part? It is possible to do that from Interface Builder?

Dev
  • 7,027
  • 6
  • 37
  • 65
  • Solved thanks to this post: http://stackoverflow.com/questions/2368225/binding-selection-across-multiple-view-controllers-in-a-single-window-interface – Dev Jan 29 '11 at 15:32
  • Then post that as an answer and mark it accepted to clean up after yourself so people don't keep looking at an open question. :-) – Joshua Nozzi Jan 29 '11 at 15:40
  • Thanks! I did not see that I could answer myself! – Dev Jan 31 '11 at 09:47

1 Answers1

0

Solved thanks to this post: Binding selection across multiple view controllers in a single window interface

Community
  • 1
  • 1
Dev
  • 7,027
  • 6
  • 37
  • 65