Better with foundation
Much more interesting now that it can import Foundation, use NSString, NSArray, etc. Previously, it was bare bones objc (like NXConstantString and "Object"). But now, at least (whatever online compiler it uses) understands @property (not just ivars), and @synthesize. More like modern Obj-C. The default template should add to main, NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; and lastly [pool release]; (I think ;)
Man-Choo about
Obj-C Programming Language