Removes an observer from a notification center.
cocoa
remove-observer target &key name object center
target⇩ |
A pointer to an Objective-C foreign object. |
name⇩ |
A string or nil . |
object⇩ |
A pointer to an Objective-C foreign object or nil . |
center⇩ |
A notification center. |
The function remove-observer
calls the Objective-C instance method removeObserver:name:object:
of center to remove target as an observer with the given name and object, which both default to nil
.
If center is omitted then it defaults to the default notification center.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 18 Feb 2025 15:39:50