Re-establishing KVO in Managed objects after undo
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