2000-03-05 17:39:33 +00:00
|
|
|
<html><head>
|
|
|
|
<title>NSNotificationCenter</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a href="NSNotification.html">[Previous]</a>
|
2000-04-10 05:32:04 +00:00
|
|
|
<a href="Base.html">[Up]</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
<a href="NSNotificationQueue.html">[Next]</a>
|
|
|
|
<h1>NSNotificationCenter</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
|
|
<dd>
|
|
|
|
</dl>
|
|
|
|
<p>Version: 0.1</p>
|
|
|
|
<p>Date: 28 February, 2000</p>
|
|
|
|
<h2><a name="cont-0">NSNotificationCenter</a></h2>
|
|
|
|
<h2><a name="NSNotificationCenter">NSNotificationCenter</a></h2>
|
|
|
|
<p><b>Declared in:</b> Foundation/NSNotification.h</p>
|
|
|
|
<p><b>Inherits from:</b> NSObject</p>
|
|
|
|
<p><b>Conforms to:</b> NSObject
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-0">+defaultCenter</a>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-1">-addObserver:selector:name:</a>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-2">-postNotification:</a>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-3">-postNotificationName:</a>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-4">-postNotificationName:object:userInfo:</a>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-5">-removeObserver:</a>
|
|
|
|
<li><a href="NSNotificationCenter.html#method-6">-removeObserver:name:object:</a>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-0">defaultCenter</a></h2>
|
|
|
|
+ (NSNotificationCenter*) <b>defaultCenter</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-1">addObserver:selector:name:</a></h2>
|
|
|
|
- (void) <b>addObserver:</b> (id)anObserver <b>selector:</b> (SEL)aSelector <b>name:</b> (NSString*)notificationName<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-2">postNotification:</a></h2>
|
|
|
|
- (void) <b>postNotification:</b> (NSNotification*)notification<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-3">postNotificationName:</a></h2>
|
|
|
|
- (void) <b>postNotificationName:</b> (NSString*)notificationName<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-4">postNotificationName:object:userInfo:</a></h2>
|
|
|
|
- (void) <b>postNotificationName:</b> (NSString*)notificationName <b>object:</b> (id)anObject <b>userInfo:</b> (NSDictionary*)userInfo<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-5">removeObserver:</a></h2>
|
|
|
|
- (void) <b>removeObserver:</b> (id)anObserver<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-6">removeObserver:name:object:</a></h2>
|
|
|
|
- (void) <b>removeObserver:</b> (id)anObserver <b>name:</b> (NSString*)notificationName <b>object:</b> (id)anObject<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|