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

This is Poster.m in view mode; [Download] [Up]

/*--------------------------------------------------------------------------
 *
 * 	You may freely copy, distribute, and reuse the code in this example.
 * 	SHL Systemhouse disclaims any warranty of any kind, expressed or  
 *	implied, as to its fitness for any particular use.
 *
 *
 *	Poster
 *
 *	Inherits From:		NSObject
 *
 *	Conforms To:		None
 *
 *	Declared In:		Poster.h
 *
 *------------------------------------------------------------------------*/
#import "Poster.h"
#import <appkit/Matrix.h>
#import <foundation/NSNotification.h>




@implementation Poster

- raiseFlag: sender
{
	currentFlag = [sender selectedCell];
	[[NSNotificationCenter defaultCenter] 
		postNotificationName:@"RaiseFlag" object:self];
	return self;
}


- currentFlag
{
	return currentFlag;
}


@end

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