ftp.nice.ch/Attic/openStep/tools/business/QTax.4.2.m.NIS.bs.tar.gz#/QTax_4.2/Source/MenuObject.m

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

#import "MenuObject.h"

@implementation MenuObject


- (void)applicationDidFinishLaunching:(NSNotification *)notification
// In order for your object to receive this notification make sure that
// your object is a delegate or "File's Owner" in IB.
// Connected from "File's Owner" to MyObject in this case.
{

        // Activate the application
        [NSApp activateIgnoringOtherApps:YES];

        // Load nib
    	if (![NSBundle loadNibNamed:@"Regular" owner:self])  {
            NSLog(@"Failed to load Regular.nib");
            NSBeep();
            return;
        }

}


- (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.