ftp.nice.ch/pub/next/developer/objc/appkit/ClassBuilder.1.0.s.tar.gz#/CB/CB_main.m

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

/*
 *     Generated by the NeXT Interface Builder.
 */

#import <stdlib.h>
#import "MenuManager.h"
#import <appkit/Window.h>
#import <appkit/Application.h>
#import "NObject.h"

void main(int argc, char *argv[])
{ // "NObject" objects don't cause the app
  // to terminate when they don't understand
  // something
    [NObject poseAs: objc_getClass("Object")] ;
    [[[NObject alloc] init] free] ;
    NXApp = [MenuManager new];
    [NXApp loadNibSection:"MenuManager.nib" owner:NXApp];
    [[NXApp mainMenu] setTitle: "CB"] ;
    if(argc == 1) // if no args,
      [NXApp open: NXApp] ; // come up with open panel
    else
      [NXApp openList: &argv[1]  path: NULL] ; // come up with args opened
    [[NXApp mainMenu] display] ;
    [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.