Re: NSNotificationCenter : multiple messages sent to the same observer?
Re: NSNotificationCenter : multiple messages sent to the same observer?
- Subject: Re: NSNotificationCenter : multiple messages sent to the same observer?
- From: Michael Ash <email@hidden>
- Date: Sat, 21 Feb 2009 19:37:16 -0500
On Sat, Feb 21, 2009 at 6:06 PM, Iceberg-Dev <email@hidden> wrote:
> I just discovered something recently. If you register an observer with the
> same name/object/selector twice, you get the notification twice when you
> post it.
>
> Isn't the NSNotificationCenter supposed to prevent this?
Why, is there some place in the documentation where it says that?
Mike
_______________________________________________
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