This is MiscSCCInspector.m in view mode; [Download] [Up]
#import "MiscSwapKit.subproj/MiscSwapContentsController.h"
#import "MiscSCCInspector.h"
@implementation MiscSCCInspector
// Load the Inspector
- init
{
char buf[MAXPATHLEN + 1];
id bundle;
[super init];
bundle = [NXBundle bundleForClass:[MiscSwapContentsController class]];
[bundle getPath: buf forResource: "MiscSCCInspector" ofType:"nib"];
[NXApp loadNibFile:buf owner:self withNames:NO fromZone:[self zone]];
return self;
}
// Query the object for it's attributes to display
- revert: sender
{
[tagForm setIntValue: [object triggerTag] ];
return [super revert: sender];
}
- tagChanged:sender
{
[object setTriggerTag: [tagForm intValue] ];
return [super ok: sender];
}
- (BOOL)wantsButtons
{
return NO;
}
@end
@implementation MiscSwapContentsController (IBInspector)
- (const char *)getInspectorClassName
{
return "MiscSCCInspector";
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.