|
|
Sample Programs from NeXSTEP 3.3
/*
* MyApp.m, subclass of Application for doing some central stuff...
* Author: Ali Ozer
* Written October 1990; last updated Feb 1992.
*
* You may freely copy, distribute and reuse the code in this example.
* NeXT disclaims any warranty of any kind, expressed or implied,
* as to its fitness for any particular use.
*/
#import <appkit/appkit.h>
#import "MyApp.h"
@implementation MyApp
// Method to load the .nib file for the info panel.
- displayInfoPanel:sender
{
if (!infoPanel) {
[NXApp loadNibSection:"InfoPanel.nib" owner:self];
}
[infoPanel makeKeyAndOrderFront:NULL];
return self;
}
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.