Unable to coalesce notifications
Unable to coalesce notifications
- Subject: Unable to coalesce notifications
- From: Jonathan Fewtrell <email@hidden>
- Date: Thu, 18 Nov 2004 12:03:10 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
I have a scrolling view and want to be notified when it has scrolled.
But I want to ignore the stream of notifications that is sent during
the scrolling process and only act on the last one. I thought that this
would work:
[[NSNotificationQueue defaultQueue] enqueueNotification:[NSNotification
notificationWithName:NSViewBoundsDidChangeNotification object:nil]
postingStyle:NSPostWhenIdle];
coalesceMask:NSNotificationCoalescingOnName
forModes:nil];
But I still receive the full stream of notifications instead of just
one. Any idea what I'm doing wrong?
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden