Le 22 févr. 09 à 10:52, Frédéric Testuz a écrit :
Le 22 févr. 09 à 00:06, Iceberg-Dev a écrit :
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?
Notifications post via a NSNotificationQueue can have this
behaviour. The documentation said nothing about coalescing
notifications sent directly to a NSNotificationCenter.
Sorry, after reflection, I made a confusion between sending two time a
notification and registering two times for a notification.
Frédéric_______________________________________________
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]