#import <Foundation/Foundation.h>

//Example Hello World program for Mac OS X Objective C

@interface HelloWorld : NSObject
- (void) hello;
@end

@implementation HelloWorld
- (void) hello 
{
    NSLog(@"hello world!");
}
@end

int main(void) 
{
    HelloWorld *hw = [[HelloWorld alloc] init];
    [hw hello];
    [hw release];
}