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.