1 #import <Foundation/Foundation.h> 2 #import <Cocoa/Cocoa.h> 3 4 int main (int argc, char const *argv[]) 5 { 6 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 7 8 [NSApplication sharedApplication]; 9 NSWindow* window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,100,100) styleMask:NSBorderlessWindowMask backing:NSBackingStoreRetained defer:NO]; 10 [window setCanHide:YES]; 11 [pool release]; // Set breakpoint here. 12 return 0; 13 } 14 15