ftp.nice.ch/Attic/openStep/developer/examples/InfoWow.bs.NIHS.tgz#/InfoWow/InfoWow/Controller.m

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

#import "Controller.h"
#import "WowView.h"

@implementation Controller

- infoPanel		// return the infoPanel, load it if needed.
{
	if (!infoPanel)
		[NXApp loadNibSection:"InfoPanel.nib" owner:self withNames:NO];
	return infoPanel;
}

- info:sender		// make the info panel be up there.
{
	[[self infoPanel] orderFront:sender];
	[niftyView start:self]; // will stop automatically on close by
	// using window's delegate method -windowWillClose:
	return self;
}

- infoPanel2		// return the infoPanel, load it if needed.
{
	if (!infoPanel2)
		[NXApp loadNibSection:"InfoPanel2.nib" owner:self withNames:NO];
	return infoPanel2;
}

- info2:sender		// make the info panel be up there.
{
	[[self infoPanel2] orderFront:sender];
	return self;
}

@end

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