|
|
1.1 root 1: /*
2: * MyApp.m, subclass of Application for doing some central stuff...
3: * Author: Ali Ozer
4: * Written October 1990; last updated Feb 1992.
5: *
6: * You may freely copy, distribute and reuse the code in this example.
7: * NeXT disclaims any warranty of any kind, expressed or implied,
8: * as to its fitness for any particular use.
9: */
10:
11: #import <appkit/appkit.h>
12: #import "MyApp.h"
13:
14: @implementation MyApp
15:
16: // Method to load the .nib file for the info panel.
17:
18: - displayInfoPanel:sender
19: {
20: if (!infoPanel) {
21: [NXApp loadNibSection:"InfoPanel.nib" owner:self];
22: }
23: [infoPanel makeKeyAndOrderFront:NULL];
24:
25: return self;
26: }
27:
28: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.