This is MenuObject.m in view mode; [Download] [Up]
#import "MenuObject.h"
@implementation MenuObject
- (void)applicationDidFinishLaunching:(NSNotification *)notification
{
NSApplication *theApplication = [notification object];
[NSApp activateIgnoringOtherApps:YES]; // activate the application
[NSBundle loadNibNamed:@"Regular.nib" owner:self];
}
- (void)NewInverse:(id)sender
{
[NSBundle loadNibNamed:@"Inverse.nib" owner:self];
}
- (void)NewRegular:(id)sender
{
[NSBundle loadNibNamed:@"Regular.nib" owner:self];
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.