ftp.nice.ch/pub/next/graphics/vector/Wood.0.72.s.tar.gz#/Wood/Sources/DefaultWoodInspector.m

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

#import <misckit/misckit.h>
#import <misckit/MiscSwapView.h>

#import "DefaultWoodInspector.h"

@implementation DefaultWoodInspector

- addWrappedControllers
{
	id	aController;
	id matrixList;
	int	i;
	
	swapView = [manager swapView];
	if( !controllers )
	{
		controllers = [List new];
		matrixList = [matrix cellList];
		for( i=0; i<[matrixList count]; i++ )
		{
			aController = [self copy];
			[aController setTrigger:[matrixList objectAt:i]];
			[controllers addObject:aController];
		}
	}
		
	for( i=0; i<[controllers count]; i++ )
		[swapView addController:[controllers objectAt:i]];

	return self;
}


@end

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