ftp.nice.ch/Attic/openStep/implementation/gnustep/sources/objcX-0.87.tgz#/objcX-0.87/examples/Form/Test_main.m

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

/* Generated by the NeXT Project Builder 
   NOTE: PB option to build main is turned off.
*/

#include "appkit/Application.h"

void main(int argc, char *argv[]) {

#ifdef __NeXT__
    [Application new];
    if ([NXApp loadNibSection:"Test.nib" owner:NXApp withNames:NO])
	    [NXApp run];
#else
    [[Application alloc] initargc:argc argv:argv];
    if ([NXApp loadNibSection:"Test.xmib" owner:NXApp withNames:NO])
	    [NXApp run];
#endif	    
    [NXApp free];
    exit(0);
}

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