1#import <Foundation/Foundation.h> 2 3int main (int argc, const char * argv[]) 4{ 5 6 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 7 8 9 NSMutableArray* arr = [[NSMutableArray alloc] init]; 10 [arr addObject:@"hello"]; 11 [arr addObject:@"world"]; 12 [arr addObject:@"this"]; 13 [arr addObject:@"is"]; 14 [arr addObject:@"me"]; 15 [arr addObject:[NSURL URLWithString:@"http://www.apple.com/"]]; 16 17 NSDate *aDate = [NSDate distantFuture]; 18 NSValue *aValue = [NSNumber numberWithInt:5]; 19 NSString *aString = @"a string"; 20 21 NSArray *other_arr = [NSArray arrayWithObjects:aDate, aValue, aString, arr, nil]; 22 NSArray *empty_arr = @[]; 23 24 [pool drain];// Set break point at this line. 25 return 0; 26} 27 28