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

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

/* Generated by the NeXT Project Builder 
   NOTE: Do NOT change this file -- Project Builder maintains it.
*/
#define IB_FILE	"EasyViewer"

#ifdef __NeXT__
#import <appkit/appkit.h>
#else
#import <stdlib.h>
#import <sys/param.h>
#import <appkit/Application.h>
#endif

void main(int argc, char *argv[]) {
    
#ifdef __NeXT__
    [Application new];
    if ([NXApp loadNibSection:IB_FILE ".nib" owner:NXApp withNames:NO])
            [NXApp run];
#else
    [[Application alloc] initargc:argc argv:argv];
    if ([NXApp loadNibSection:IB_FILE ".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.