ftp.nice.ch/pub/next/audio/apps/Tuner.NI.b.tar.gz#/Tuner/PopUpListPatch.m

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

#import <appkit/Matrix.h>
#import <appkit/PopUpList.h>

@implementation PopUpList(PatchMethods)

- (const char *) itemAt:(unsigned int) index
{
	return [[matrix cellAt:index :0] title];
}

- selectItem:(const char *) title;
{
	if ([self indexOfItem:title] == -1) [self insertItem:title at:0];
	
	[matrix selectCellAt:[self indexOfItem:title] :0];
	
	return self;
}

@end

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