This is InfoPanel.m in view mode; [Download] [Up]
/* * InfoPanel.m * * Purpose: * Deals with the info panel. * * 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. * * Written by: Mary McNabb * Created: Apr 91 * */ #import "InfoPanel.h" #import <appkit/Window.h> #import <appkit/Application.h> @implementation InfoPanel /* * When initializing read in the nib file. */ - init { [NXApp loadNibSection:"InfoPanel.nib" owner:self]; return self; } /* * Put the info panel in the front. */ - orderInfoPanelFront:sender { [infoPanel 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.