On Feb 16, 2012, at 12:42 PM, Matt Neuburg <m...@tidbits.com> wrote:
> On Feb 16, 2012, at 12:05 PM, Greg Parker wrote:
>> 
>> The question is, who retains the observer? The __block __weak variable does 
>> not, because it's weak. NSNotificationCenter does not, as I understand it.
> 
> It does, actually; thanks for pressing me on this point.

The NSNotificationCenter documentation says:
"Important: The notification center does not retain its observers…"

So something is still not right here.


-- 
Greg Parker     gpar...@apple.com     Runtime Wrangler



_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to