Cocoa provides a mechanism called notification centers to register observers for particular events. The helper functions add-observer and remove-observer can be used to add and remove observers.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 22 Dec 2009