Re: How to make KVO setup persistent?
Re: How to make KVO setup persistent?
- Subject: Re: How to make KVO setup persistent?
- From: George Orthwein <email@hidden>
- Date: Fri, 21 Jul 2006 10:29:33 -0400
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
_______________________________________________
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