This is InfoManager.m in view mode; [Download] [Up]
#import "InfoManager.h" @implementation InfoManager - infoPanel { if(!infoPanel) { id bundle; char path[MAXPATHLEN+1]; bundle = [NXBundle bundleForClass:[self class]]; if([bundle getPath:path forResource:"InfoPanel" ofType:"nib"]) { [NXApp loadNibFile:path owner:self]; } else { NXRunAlertPanel("Error", "Can't locate InfoPanel.nib", NULL, NULL, NULL); } } return infoPanel; } - showPanel:sender { [[self infoPanel] makeKeyAndOrderFront:nil]; return self; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.