home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
01a.hello.Ch6Ex2
/
MyObject.m
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-12-19
|
337 b
|
25 lines
/* Generated by Interface Builder */
#import "MyObject.h"
#import <appkit/Control.h>
#import <strings.h>
@implementation MyObject
- setTextOutlet:anObject
{
textOutlet = anObject;
return self;
}
- buttonAction:sender
{
strcat(myString, "hello, world\n");
[textOutlet setStringValue:myString];
return self;
}
@end