Re: Observing Managed Object Changes. Was: Strange ... behavior
Re: Observing Managed Object Changes. Was: Strange ... behavior
- Subject: Re: Observing Managed Object Changes. Was: Strange ... behavior
- From: Jerry Krinock <email@hidden>
- Date: Wed, 25 Feb 2009 16:35:37 -0800
On 2009 Feb 25, at 16:19, Dave Fernandes wrote:
Yes, the one fetched from the persistent store may still be a fault
if you have not tried to access any attributes yet.
Further testing shows that it does become a fault if I change an
attribute and then delete the Employee. That's ^changing^ an
attribute. But certainly the firstName, lastName and salary were
^accessed^ before that, because they show in the UI as soon as I open
the document.
But let me get to the more important question, Dave. You said in your
first post that you are using KVO, yet you were the one who discovered
that a managed object's observer goes away when you delete and then
undo the delete. Do you have a solution for this problem, or are you
just living with it?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden