ftp.nice.ch/pub/next/developer/objc/appkit/ScrollWindow.tar.gz#/ScrollWindow/ExampleApp.m

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

/* Generated by Interface Builder */

#import "ExampleApp.h"
#import "ScrollWindow.h"
#import <appkit/Matrix.h>

@implementation ExampleApp

- appDidInit:sender
{
	[infoWindow becomeScrollWindow];
	[mysteryWindow becomeScrollWindow];
	return self;
}

- setMysteryMatrix:anObject
{
    mysteryMatrix = anObject;
    return self;
}

- setInfoWindow:anObject
{
    infoWindow = anObject;
    return self;
}

- setMysteryScroller:anObject
{
    mysteryScroller = anObject;
    return self;
}

- setMysteryWindow:anObject
{
    mysteryWindow = anObject;
    return self;
}

- mysteryAction:sender
{
    [mysteryScroller setTarget:[mysteryMatrix findCellWithTag:[sender intValue]]];
    return self;
}


@end

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