All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual > 4 Cocoa Reference

NextPrevUpTopContentsIndex

remove-observer

Function
Summary

Removes an observer from a notification center.

Package

cocoa

Signature

remove-observer target &key name object center

Arguments

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.

Description

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.

See also

add-observer


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 21 Mar 2017

NextPrevUpTopContentsIndex