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 MenuObject in this case. { [NSBundle loadNibNamed:@"FindPercentage.nib" owner:self]; } - (void)MoreInfo:(id)sender { [NSBundle loadNibNamed:@"MoreInfo.nib" owner:self]; // load nib } - (void)NewFindPercentage:(id)sender { [NSBundle loadNibNamed:@"FindPercentage.nib" owner:self]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.