On Nov 18, 2009, at 2:14 AM, Sean McBride wrote:
> The docs for addObserver:forKeyPath:options:context: say "Neither the
> receiver, nor anObserver, are retained.".  They don't comment on the
> garbage collected case specifically.  Does any know for sure?
> Does calling this method add a strong reference between the receiver and
> 'anObserver'?  (I'm assuming not.)

The Foundation Release Notes in Snow Leopard mentions "Automatic Removal of
Finalized Key-Value Observers When Running Garbage-Collected" (new in SL),
so there is some differences between how that's handled in 10.5 and in 10.6...

Lukhnos

_______________________________________________

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

Reply via email to