NSNotification filtering problem
NSNotification filtering problem
- Subject: NSNotification filtering problem
- From: Guillaume Rager <email@hidden>
- Date: Mon, 8 Mar 2004 10:46:38 +0100
- Organization: GumiTech
Hi list !
i have a little problem with NSNotification RECEIVING :
a piece of code which *i don t have access to source* is used in my program and post me a notification called "myNotification".
The problem is that this notification is sent about 100 times in a very short time (probably a misconception of the author, or my misconception ? ;) ). This results in useless call to my notification handler since i need only one posting of this notification...
I was really happy to see about notificationQueues and their coalescing capabilities... but AFAIK NSNotificationQueues are used on the *sender* side, they can't be used on the receiver side ?!
Does anybody has a tip to avoid multiple successive notification handler call on the receiver side ? a sort of filter (like NSNotificationQueues coalescing techniques) but on the NotificationCenter side...
Thanks !
Guillaume
-----
GUMITECH - R&D Unit - Niort (France)
http://www.gumitech.com
"Chaud cocoa, chaud chocolat !!!"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.