NSNotificationQueue

NSNotificationQueue Mac OS X 10.0

This class acts as a buffer for notification centers. Notification queues can be used to allow greater control over the timing of notifications and how they are posted to the notification center. Each thread has its own notification queue, which is associated with the default notification center. For more information about the notification system, see Chapter 2.

figs/cocn_1369.gif

@interface NSNotificationQueue : NSObject
 // Initializers
   - (id)initWithNotificationCenter:(NSNotificationCenter *)notificationCenter;
 // Class Methods
   + (NSNotificationQueue *)defaultQueue;
 // Instance Methods
   - (void)dequeueNotificationsMatching:(NSNotification *)notification coalesceMask:(unsigned)coalesceMask;
   - (void)enqueueNotification:(NSNotification *)notification postingStyle:(NSPostingStyle)postingStyle;
   - (void)enqueueNotification:(NSNotification *)notification postingStyle:(NSPostingStyle)postingStyle
        coalesceMask:(unsigned)coalesceMask forModes:(NSArray *)modes;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes