(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSNotificationCenter 

Inherits From:	NSObject 

Conforms To:	NSCoding
NSObject 

Declared In:	foundation/NSNotification.h 

Accessing the Default Notification Center

+ (NSNotificationCenter *)defaultCenter	Returns the notification-center object for the current task.

Adding and Removing Observers

- (void)addObserver:anObserver	Registers anObserver and aSelector with the receiver so
selector:(SEL)aSelector		that anObserver receives an aSelector message when a 
name:(NSString *)aName		notification of name name is posted to the notification 
object:(id)anObject		center by anObject.

Posting Notifications

- (void)postNotification:(NSNotification *)aNotification
	Posts aNotification to the notification center.
- (void)postNotificationName:(NSString *)name	Creates a notification object that associates name and
object:(id)anObject	anObject and posts it to the notification center. 
- (void)postNotificationName:(NSString *)name	Creates a notification object that associates name and
object:(id)anObject		anObject and posts it to the notification center.  userInfo
userInfo:(NSDictionary *)userInfo		is a dictionary of arbitrary data that will be passed with the notification.  userInfo may be nil.
- (void)removeObserver:(id)anObserver	Removes anObserver as the observer of any notifications from any objects.
- (void)removeObserver:(id)anObserver	Removes anObserver as the observer of name notifications
notificationName:(NSString *)name		from anObject.
object:anObject