ftp.nice.ch/pub/next/developer/objc/EOF/OTC_EOFBetaExamples.1.0.bs.tar.gz#/OTC_EOFBetaExamples_V1.0/NSFoundation/Notification

English.lproj/
 
Makefile
 
Makefile.postamble
 
Makefile.preamble
 
NSNotificationCenter.app/
 
NSNotificationCenter.iconheader
 
NSNotificationCenter_main.m
[View NSNotificationCenter_main.m] 
NSObject-IBFixes.m
[View NSObject-IBFixes.m] 
Observer.h
[View Observer.h] 
Observer.m
[View Observer.m] 
PB.gdbinit
 
PB.project
 
Poster.h
[View Poster.h] 
Poster.m
[View Poster.m] 
README.rtf
[View README.rtf] 

README.rtf

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.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.