public
Description: A Hello World App in Cocoa for Mac OS X
Homepage: http://teabass.com/hello-world-in-cocoa/
Clone URL: git://github.com/andrew/hellococoa.git
andrew (author)
Fri Jun 13 02:33:30 -0700 2008
hellococoa / Foo.m
100644 23 lines (16 sloc) 0.308 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// Foo.m
// HelloWorld
//
// Created by Andrew Nesbitt on 12/06/2008.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
 
#import "Foo.h"
 
 
@implementation Foo
  
- (IBAction)sayHello:(id)sender
{
  NSString *message;
  message = @"hello world!";
  
  [textField setStringValue:message];
}
 
@end