This is StarterServer.m in view mode; [Download] [Up]
#import "StarterServer.h" #import "AppController.h" #import "RemoteMethodCategory.h" @implementation StarterServer /* implement the app-specific methods here by calling the same method in the [NXApp delegate] */ - (oneway void)newDocument { [(AppController *)[NXApp delegate] newDocument]; } - (oneway void)openDocument:(NSString *)aPath { [(AppController *)[NXApp delegate] openDocument:(NSString *)aPath]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.