Does NSNotificationCenter use zeroing weak references to observers ?
I want to say "When using Cocoa’s automated memory garbage collection, NSNotificationCenter automatically un-registers observers that are no longer in use somewhere else in the application." I'm just not sure it's true. Can anyone save me the time of writing a test application? In my test program, how can I tell the difference between an observer for which the NSNotificationCenter has a strong reference and an observer that is about to be finalized but hasn't been yet ? Is this the classic "halting problem?"
_______________________________________________ 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 [EMAIL PROTECTED]