Core Data, OutlineView, TreeController
Core Data, OutlineView, TreeController
- Subject: Core Data, OutlineView, TreeController
- From: Nicholas Crosbie <email@hidden>
- Date: Tue, 6 Sep 2005 14:58:59 +1000 (EST)
Hi all,
I'm trying to bind a table selection to an OutlineView
so that clicking
on a table row will bring up the relevant OutlineView
(ala Safari bookmarks).
I'm doing this in a document-based core data app.
I bind the NSTreeController for the OutlineView to the
table's NSArrayController:
contentArray = selection.group [Groups Controller
(NSArrayController)]
where 'group' is a one-to-one relationship that points
to the table entity 'Group'.
I get the following error:
NSRunLoop ignoring exception '[<Group 0x3af240>
valueForUndefinedKey:]: this class is not key value
coding-compliant for the key group.' that raised
during posting of delayed perform with target 36d280
and selector 'invokeWithTarget:
Note that I've also tried binding with:
contentSet = selection.group [Groups Controller
(NSArrayController)]
This gives the same kind of error.
Finally, I've tried leaving Model Key Path empty (for
both examples above), and that also doesn't help.
Any ideas? Maybe someone has got this to work in a
document-based
core data context?
- Nick
Send instant messages to your online friends http://au.messenger.yahoo.com
_______________________________________________
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