This is MenuObject.m in view mode; [Download] [Up]
#import "MenuObject.h" @implementation MenuObject // APPDIDINIT - appDidInit:sender { [NXApp activateSelf:YES]; // activate the application [NXApp loadNibSection:"AnalysisUS.nib" owner:self]; // load nib return self; } - NewCanadain:sender { [NXApp loadNibSection:"Canadian.nib" owner:self]; // load nib return self; } - NewUS:sender { [NXApp loadNibSection:"US.nib" owner:self]; // load nib return self; } // SHOW INFO PANEL - ShowInfoPanel:sender // This method load and displays a nib file. { [NXApp loadNibSection:"InfoPanel.nib" owner:self]; // Load info panel nib return self; //normal return } // Load Analysis - Analysis:sender // This method load and displays a nib file. { [NXApp loadNibSection:"Analysis.nib" owner:self]; return self; //normal return } // Load Analysis US - AnalysisUS:sender // This method load and displays a nib file. { [NXApp loadNibSection:"AnalysisUS.nib" owner:self]; return self; //normal return } // SHOW MORE INFO PANEL - ShowMoreInfo:sender // This method load and displays a nib file. { [NXApp loadNibSection:"MoreInfo.nib" owner:self]; //load info panel nib return self; //normal return } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.