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:"BMIimperial.nib" owner:self]; // load nib
return self;
}
- Metric:sender
{
[NXApp loadNibSection:"BMImetric.nib" owner:self]; // load nib
return self;
}
- Imperial:sender
{
[NXApp loadNibSection:"BMIimperial.nib" owner:self]; // load nib
return self;
}
- MoreInfo:sender
{
[NXApp loadNibSection:"MoreInfo.nib" owner:self]; // load nib
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.