• 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: Re-establishing KVO in Managed objects after undo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re-establishing KVO in Managed objects after undo


  • Subject: Re: Re-establishing KVO in Managed objects after undo
  • From: Gideon King <email@hidden>
  • Date: Sun, 2 May 2010 04:43:21 +1000

Thanks guys - will look into that.

On 02/05/2010, at 3:11 AM, Kyle Sluder wrote:

> On Sat, May 1, 2010 at 9:34 AM, Dave Fernandes
> <email@hidden> wrote:
>> If you are observing something that is not part of your data model, you might try using mechanisms other than KVO to keep your data model updated. KVO can be a world of hurt when used the way you are using it. There are old threads on this topic. See, for example, "Strange NSManagedObjectContextObjectsDidChangeNotification behavior".
>
> Agreed. Your controller should listen for MOC notifications to find
> out when to start and stop observing objects. After all, that's what
> NSArrayController does.
>
> --Kyle Sluder

_______________________________________________

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: 
 >Re-establishing KVO in Managed objects after undo (From: Gideon King <email@hidden>)
 >Re: Re-establishing KVO in Managed objects after undo (From: Dave Fernandes <email@hidden>)
 >Re: Re-establishing KVO in Managed objects after undo (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Re-establishing KVO in Managed objects after undo
  • Next by Date: Re: Re-establishing KVO in Managed objects after undo
  • Previous by thread: Re: Re-establishing KVO in Managed objects after undo
  • Next by thread: Re: Re-establishing KVO in Managed objects after undo
  • Index(es):
    • Date
    • Thread