This is Controller.m in view mode; [Download] [Up]
//
// A simple app delegate
// Greg Burd
// Copyright NeXT Computer, Inc 1992 All Rights Reserved
//
// Created 7-9-92
//
// You may freely copy, distribute and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to
// its fitness for any particular use.
//
#import "Controller.h"
#import "DragView.h"
#import <appkit/NXImage.h>
#import <objc/NXBundle.h>
@implementation Controller
- appDidInit:sender
{
[initalDragView setImage:[[NXImage alloc] initFromSection:"Balls"]];
[[initalDragView window] makeKeyAndOrderFront:self];
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.