This is MasterController.m in view mode; [Download] [Up]
#import "MasterController.h" #import "MailController.h" #import "InfoController.h" @implementation MasterController - init { [super init]; composePanels = [[List alloc] init]; return self; } - newCompose:sender { id aLetter = [[MailController alloc] init]; [aLetter makeKeyAndOrderFront: self]; [composePanels addObject: aLetter]; return self; } - appDidInit: sender { return [self newCompose: sender]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.