Skip navigation.
 
mlRe: How to make KVO setup persistent?
FROM : George Orthwein
DATE : Fri Jul 21 16:29:33 2006

I think this FAQ question covers your situation:
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdFAQ.html#//apple_ref/doc/uid/TP40001802-DontLinkElementID_19

Their example is a to-many relationship and since yours is to-one, 
maybe there are other possibilities. I didn't look at it closely enough.

Briefly looking through the archives, it looks like you might be able 
to just re-setup the KVO in awakeFromFetch:
http://www.cocoabuilder.com/archive/message/cocoa/2006/2/21/157227

Another thought I had was instead of KVO, you could possibly set the 
Age relationship as a dependent key of the birth year, though I'm not 
sure that dependent keys work with relationships.

Those are all semi-guesses on my part, but hopefully one will turn 
into a real solution for you.

George

Related mailsAuthorDate
mlHow to make KVO setup persistent? Arthur C. Jul 20, 18:13
mlHow to make KVO setup persistent? Arthur C. Jul 20, 18:14
mlHow to make KVO setup persistent? Arthur C. Jul 21, 11:21
mlRe: How to make KVO setup persistent? George Orthwein Jul 21, 16:29
mlRe: How to make KVO setup persistent? Arthur C. Jul 26, 22:51