I am having two objects in my model: Person and Address. Person has a key name and a relationship to Address and Address has a key street.
I have designed the user interface to show a table with one column (Person.name) and two text fields with name and street.
I have created one NSArrayController with managedObjectContext set and ObjectController set to Entity and EntityName Person.
Running the app the table shows all added persons. The two text fields are connected to the Person-ArrayController via Bindings tab:
nameField with value: Bind To: Person / Controller Key: selected / Model Key Path: name
streetField with value: Bind To: Person / Controller Key: selected / Model Key Path: address.street
I am able to write something into name and it is stored persistently. I am also able to enter something into streetField but it is not stored.
Does anyone know why??
Addresssomehow? - Mundi