Re: KVO and Core data
Re: KVO and Core data
- Subject: Re: KVO and Core data
- From: Dave Fernandes <email@hidden>
- Date: Mon, 9 Aug 2010 10:49:08 -0400
On 2010-08-09, at 10:20 AM, Keary Suska wrote:
>
>> So I have two questions:
>>
>> 1. Is it the "right way" for me to be adding observation on the awake methods and removing it on willTurnToFault?
>
> For cross-relationship KVO, generally yes.
Objects can turn into faults and then be refetched. Not sure if awakeFromSnapshotEvents: covers all these cases. In any case, this is only useful on 10.6 or later. For earlier OS versions, you will have a problem with the above design pattern if an object is, say, deleted and then the deletion is undone._______________________________________________
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