File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Lines / MyApp.m
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:26 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.