[Previous] [Up] [Next]

NSNotificationCenter

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSNotificationCenter

NSNotificationCenter

Declared in: Foundation/NSNotification.h

Inherits from: NSObject

Conforms to: NSObject


Instance Variables

Methods


Class Methods

defaultCenter

+ (NSNotificationCenter*) defaultCenter;


Instances Methods

addObserver:selector:name:

- (void) addObserver: (id)anObserver selector: (SEL)aSelector name: (NSString*)notificationName;

postNotification:

- (void) postNotification: (NSNotification*)notification;

postNotificationName:

- (void) postNotificationName: (NSString*)notificationName;

postNotificationName:object:userInfo:

- (void) postNotificationName: (NSString*)notificationName object: (id)anObject userInfo: (NSDictionary*)userInfo;

removeObserver:

- (void) removeObserver: (id)anObserver;

removeObserver:name:object:

- (void) removeObserver: (id)anObserver name: (NSString*)notificationName object: (id)anObject;