On Dec 3, 2009, at 09:21, David Hirsch wrote: > I'm trying to track down a bug. The subject says it all: If I've created an > observer programatically, then saved both the observed and observer objects > with encodeObject:forKey:, will decodeObjectForKey recreate that observer for > me, or do I need to do it myself?
No, you have to do it yourself. Incidentally, I assume you're talking about the observation -- the term "observer" generally means the observing object. *That* object gets recreated by unarchiving, of course, but the observation (set up with 'addObserver:forKeyPath"...') isn't persistent. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com