NSNotification.app
SHL Object Technology Center
e-mail: otccore@bou.shl.com

Overview

This example demonstrates simple usage of the new NSNotification and NSNotificationCenter Foundation classes.  Together, these classes form a general framework for observing arbitrary, user invented notification messages.  Notifications are named events that may be posted by any object.  Notifications trigger messages to be sent to 'observers'.  Observers are objects that have registered to be notified when the named notification occurs.  Any number of observers may register and each may register the unique selector (takes one argument - an NSNotification object) used to notify them.

NEXTSTEP 3.2  EOF Beta

Program Organization

Important Files
	
Observer.[hm] registers as notification observer.
Poster.[hm] posts notifications.

Revision History 

June 94	Version 1.0.