Re: Another Core Data + table view question
Re: Another Core Data + table view question
- Subject: Re: Another Core Data + table view question
- From: mmalc crawford <email@hidden>
- Date: Sun, 19 Aug 2007 00:34:48 -0700
On Aug 18, 2007, at 10:26 AM, Alex Reynolds wrote:
On Aug 18, 2007, at 12:32 PM, mmalc crawford wrote:
The documentation is okay, but not very clear in some areas,
Where the documentation is unclear, please file enhancement requests.
Also, I note that if I deselect the Server entity, this does not
refresh the Display table view, which should then no longer render
any of the Display entity data.
If there's a relationship Server ->> Display, and the Display table
is supposed to be displaying the contents of the currently-selected
Server, then you haven't set up the binding correctly for the
contentArray for the Display table. This was discussed on the list
within the last day or two.
[...]
It looks like I need to bind "contentSet" and not "contentArray"
when binding a relationship between NSArrayController objects?
Mea culpa, the previous discussion used 'contentArray', for managed
objects the binding should indeed be for 'contentSet' -- the principle
however remains the same.
Bind to: Servers
Controller key: selection
Model key path: display
Have you bound 'managedObjectContext'?
Are there any error messages logged?
When I run my application, there is no data shown in the Display
table view, whether or not I make a Server selection.
How are you establishing the relationship between the Server and
Display instances?
mmalc
_______________________________________________
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