23 lines · plain
1#import <Foundation/Foundation.h>2 3int main (int argc, const char * argv[])4{5 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];6 7 NSArray* key = [NSArray arrayWithObjects:@"foo",nil];8 NSArray* value = [NSArray arrayWithObjects:@"key",nil];9 NSDictionary *dict = [NSDictionary dictionaryWithObjects:value forKeys:key];10 11 NSMutableIndexSet *imset = [[NSMutableIndexSet alloc] init];12 [imset addIndex:4];13 14 CFBinaryHeapRef binheap_ref = CFBinaryHeapCreate(NULL, 15, &kCFStringBinaryHeapCallBacks, NULL);15 CFBinaryHeapAddValue(binheap_ref, CFSTR("Hello world"));16 17 NSData *immutableData = [[NSData alloc] initWithBytes:"HELLO" length:1];18 19 [pool drain];// Set break point at this line.20 return 0;21}22 23