Fill CoreData ManagedObject property based on another object property
I have app that stores tree structure in CoreData.
There is an ManagedObject, "Item", and it has attributes:

 - itemId (string) 
 - List item
 - title (string)
 - parentId (string) 
 - parent (relationship to Item) 
 - parentTitle (string)

parentId points to another Item object.

How do I make property parentTitle to be filled automatically with title of parent Item ?


Fill CoreData ManagedObject property based on another object property
===

I have app that stores tree structure in CoreData.
There is an ManagedObject, "Item", and it has attributes:

 - itemId (string) 
 - List item
 - title (string)
 - parentId (string) 
 - parent (relationship to Item) 
 - parentTitle (string)

parentId points to another Item object.

How do I make property parentTitle to be filled automatically with title of parent Item ?

