Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit fd1d21c6d8dbe734ef02ffdcf083955c656f8df7 @andrew committed Jun 13, 2008
@@ -0,0 +1 @@
+build/
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
18 Foo.h
@@ -0,0 +1,18 @@
+//
+// Foo.h
+// HelloWorld
+//
+// Created by Andrew Nesbitt on 12/06/2008.
+// Copyright 2008 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface Foo : NSObject {
+ IBOutlet NSTextField *textField;
+}
+
+- (IBAction)sayHello:(id)sender;
+
+@end
22 Foo.m
@@ -0,0 +1,22 @@
+//
+// 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
Binary file not shown.
Oops, something went wrong.

0 comments on commit fd1d21c

Please sign in to comment.