On Feb 22, 2009, at 1:37 AM, Michael Ash wrote:

On Sat, Feb 21, 2009 at 6:06 PM, Iceberg-Dev <[email protected]> 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?

There isn't. But it would make sense in 99% of cases.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to