I created a NSWindow subclass and all I did was add this method (You can probably do all this without subclassing it but it works)
In the .nib file I added a Window with a textfield and made all of the connections. When I run the app the window is drawn without a title bar but you can't edit or click on the text field... Anyone have any idea why?
Code:
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
{
self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES];
return self;
}