mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor documentation tweaks
This commit is contained in:
parent
44dc5cef3d
commit
e027ff8585
9 changed files with 57 additions and 38 deletions
|
@ -853,7 +853,7 @@ static NSNotificationCenter *default_center = nil;
|
|||
* the object argument is nil).</p>
|
||||
*
|
||||
* <p>For the name and object arguments, the constraints and behavior described
|
||||
* in -addObserver:name:selector:object: remain valid.</p>
|
||||
* in -addObserver:selector:name:object: remain valid.</p>
|
||||
*
|
||||
* <p>For each notification received by the center, the observer will execute
|
||||
* the notification block. If the queue is not nil, the notification block is
|
||||
|
@ -865,15 +865,15 @@ static NSNotificationCenter *default_center = nil;
|
|||
queue: (NSOperationQueue *)queue
|
||||
usingBlock: (GSNotificationBlock)block
|
||||
{
|
||||
GSNotificationObserver *observer =
|
||||
[[GSNotificationObserver alloc] initWithQueue: queue block: block];
|
||||
GSNotificationObserver *observer =
|
||||
[[GSNotificationObserver alloc] initWithQueue: queue block: block];
|
||||
|
||||
[self addObserver: observer
|
||||
selector: @selector(didReceiveNotification:)
|
||||
name: name
|
||||
object: object];
|
||||
[self addObserver: observer
|
||||
selector: @selector(didReceiveNotification:)
|
||||
name: name
|
||||
object: object];
|
||||
|
||||
return observer;
|
||||
return observer;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue