This is FromHeaderPanel.m in view mode; [Download] [Up]
#import <appkit/appkit.h> #import "FromHeaderPanel.h" @implementation FromHeaderPanel - (int)runModalForAddress:(const char *)fromAddress; { int ret; [nameField setStringValue:fromAddress]; [self makeKeyAndOrderFront:self]; ret=[NXApp runModalFor:self]; [self orderOut:self]; return ret; } - (const char *)fromAddress; { return [nameField stringValue]; } - abortModalLoop:sender; { return [NXApp stopModal:[[sender selectedCell] tag]]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.