ftp.nice.ch/pub/next/developer/resources/classes/CrashTrap.s.tar.gz#/CrashTrap/AppDelegate.m

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

//
//  Demo for ObjectError
//
// By ivo  ivo@hasc.ca

#import "AppDelegate.h"
#import "ObjectError.h"

@implementation AppDelegate

- appDidInit:sender
{
	[window makeKeyAndOrderFront:self];
	return self;
}

- afterCrashMatrixHit:sender
{
	[ObjectError setMuddleOn:([[sender selectedCell] tag]?NO:YES)];
    return self;
}

- crashHit:sender
{
#warning The next 'does not repond to' warning is intentional! 
	[self callSomethingNotImplemented];   // Make me crash!!!
    return self;
}

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.