Binding Master to Detail in a NSTableView With CoreData
Binding Master to Detail in a NSTableView With CoreData
- Subject: Binding Master to Detail in a NSTableView With CoreData
- From: Martin van-Eerde <email@hidden>
- Date: Fri, 16 Feb 2007 00:02:04 +0000
Hi all,
I am trying to create a master detail view in one NSTableView, I have
two text field cells which are the master values and then two
NSPopUpButtons for the detail, which are bound to two different
lookup entities.
The two master fields have a attribute value binding to the master
entity and the two detail popups have
content bound to their controllers, contentValue bound to their
controllers and a specific attribute and selectedObject bound to the
master entity with selection and the model key path to the relationship.
I can select the popup details ok, but if I leave the row the detail
popups go blank. Also if I have more than one row, selecting a
detail on one row changes the detail in all rows for that column.
I have been following the instructions at:
http://devworld.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Tasks/onerelation.html#//apple_ref/doc/uid/20002301-
BCICADHC
and:
http://cocoadevcentral.com/articles/000085.php
Many thanks for any pointers, Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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