libs-base/Documentation/gsdoc/NSNotificationCenter.html

78 lines
2.8 KiB
HTML
Raw Normal View History

<html><head>
<title>NSNotificationCenter</title>
</head>
<body>
<a href="NSNotification.html">[Previous]</a>
<a href="Base.html">[Up]</a>
<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> <A HREF="NSObject.html#NSObject">NSObject</A></p>
<p><b>Conforms to:</b> NSObject
</p>
<hr>
<h2>Instance Variables</h2>
<ul>
</ul>
<h2>Methods</h2>
<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>Class Methods</h2>
<h3><a name="method-0">defaultCenter</a></h3>
+ (<A HREF="NSNotificationCenter.html#NSNotificationCenter">NSNotificationCenter</A>*) <b>defaultCenter</b>;<br>
<hr>
<hr><h2>Instances Methods</h2>
<h3><a name="method-1">addObserver:selector:name:</a></h3>
- (void) <b>addObserver:</b> (id)anObserver <b>selector:</b> (SEL)aSelector <b>name:</b> (<A HREF="NSString.html#NSString">NSString</A>*)notificationName;<br>
<hr>
<h3><a name="method-2">postNotification:</a></h3>
- (void) <b>postNotification:</b> (<A HREF="NSNotification.html#NSNotification">NSNotification</A>*)notification;<br>
<hr>
<h3><a name="method-3">postNotificationName:</a></h3>
- (void) <b>postNotificationName:</b> (<A HREF="NSString.html#NSString">NSString</A>*)notificationName;<br>
<hr>
<h3><a name="method-4">postNotificationName:object:userInfo:</a></h3>
- (void) <b>postNotificationName:</b> (<A HREF="NSString.html#NSString">NSString</A>*)notificationName <b>object:</b> (id)anObject <b>userInfo:</b> (<A HREF="NSDictionary.html#NSDictionary">NSDictionary</A>*)userInfo;<br>
<hr>
<h3><a name="method-5">removeObserver:</a></h3>
- (void) <b>removeObserver:</b> (id)anObserver;<br>
<hr>
<h3><a name="method-6">removeObserver:name:object:</a></h3>
- (void) <b>removeObserver:</b> (id)anObserver <b>name:</b> (<A HREF="NSString.html#NSString">NSString</A>*)notificationName <b>object:</b> (id)anObject;<br>
<hr>
</body>
</html>