This is Eval_main.m in view mode; [Download] [Up]
#import "Eval.h" #import "EvalObject.h" #import "EvalText.h" #import <appkit/appkit.h> #import <objc/objc-load.h> @class sview ; void main(int argc, char *argv[]) { // substitute EvalObject for class Object [EvalObject poseAs: objc_getClass("Object")] ; // subsititute EvalText for class Text [EvalText poseAs: objc_getClass("Text")] ; [Eval new]; if ([NXApp loadNibSection:"Eval.nib" owner:NXApp withNames:NO]) [NXApp run]; [NXApp free]; exit(0); }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.