Hi,

I am currently working on a quick and dirty CD database-like app using core 
data, very early in the development.
I have two entities with properties and a relationship:

(1) recording
performer
recording date
relationship: recording-work (to-1, i.e. every recording contains one work)
(2)
composer
title
opus number
inverse relationship: work-recording (to-many, i.e. there may be many 
recordings of one single composition/work)

For experimentation with the model I set up a standard master-detail view using 
the assistant.
The work column - as expected - is setup using a popup cell, I made it show the 
work's title as the value, pretty basic, using the absolutely standard array 
controller etc., everything works, no problem.

Now, I'd like to replace the popup cell by a text field cell, to simply show 
the title - but for the life of me, I can't understand why it seems to be 
impossible to setup a binding to the property title (or any other) of the 
entity work.
Binding the recordings controller's arranged objects to the keypath work.title 
does not work, as does any other binding I tried. I always get the exception

"this class is not key value coding-compliant for the key content"

I am sure I am doing something terribly wrong, but I didn't manage to come up 
with an explanation/solution either in the docs or on the web.

How should I solve this problem, with or without bindings?

Thanks a lot for any pointers!

Peter
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to