Handbook
Glossary
remove-observer ( observer -- )
Cocoa bridge
ยป
Cocoa application utilities
Prev:
add-observer ( observer selector name object -- )
Next:
install-delegate ( receiver delegate -- )
Vocabulary
cocoa
.
application
Inputs
observer
an
NSObject
Outputs
None
Word description
Unregisters an observer from the
NSNotificationCenter
singleton.
Definition
USING:
alien.c-types
cocoa.classes
cocoa.messages
cocoa.runtime
kernel
;
IN:
cocoa.application
:
remove-observer
( observer -- )
[
NSNotificationCenter
{
id
{
id
SEL
}
}
"defaultCenter"
send
]
dip
{
void
{
id
SEL
id
}
}
"removeObserver:"
send
;