int main int argc const char argv NSAutoreleasePool pool NSAutorelease

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
Person *cristy = [[Person alloc] init];
// insert code here...
NSLog(@"Hello, World!");
[cristy release];
[pool drain];
return 0;
}