May 2003
Intermediate to advanced
566 pages
27h 29m
English
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.
|
![]()
|
@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; |
Read now
Unlock full access