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

Re-establishing KVO in Managed objects after undo


  • Subject: Re-establishing KVO in Managed objects after undo
  • From: Gideon King <email@hidden>
  • Date: Sat, 1 May 2010 23:42:46 +1000

Hi, I have some places in my code where I have managed objects that need to observe various key paths. If one of these objects has been deleted by the user, and then they undo, I need to re-establish the KVO.

As undo doesn't call awakeFromFetch, I need to do this somewhere else. I have awakeFromSnapshotEvents: implemented for 10.6+ users, and it works fine, but is only available in 10.6, whereas I need to also have something that will work on 10.5.

How did you accomplish this before 10.6?


TIA

Gideon






_______________________________________________

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

  • Follow-Ups:
    • Re: Re-establishing KVO in Managed objects after undo
      • From: "Sean McBride" <email@hidden>
    • Re: Re-establishing KVO in Managed objects after undo
      • From: Dave Fernandes <email@hidden>
  • Next by Date: Re: the case of the missing scroll bar
  • Next by thread: Re: Re-establishing KVO in Managed objects after undo
  • Index(es):
    • Date
    • Thread