• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: KVO and Core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >KVO and Core data (From: Gideon King <email@hidden>)
 >Re: KVO and Core data (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: NSPathControl w/ popups and icons
  • Next by Date: Re: KVO and Core data
  • Previous by thread: Re: KVO and Core data
  • Next by thread: Re: KVO and Core data
  • Index(es):
    • Date
    • Thread