NSNotificationCenter : multiple messages sent to the same observer?
NSNotificationCenter : multiple messages sent to the same observer?
- Subject: NSNotificationCenter : multiple messages sent to the same observer?
- From: Iceberg-Dev <email@hidden>
- Date: Sun, 22 Feb 2009 00:06:06 +0100
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?
_______________________________________________
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