xcode - Create cocoa borderless window using nib design -


I'm trying a full-screen borderless full screen window. I can show it but it appears to be empty because I do not know how to use one of my NIB files. I am using the following code to create a window:

  int windowLevel = CGShieldingWindowLevel (); NSRact ScreenTrack; ScreenTrack = [[NSCCc MainScreen] frame]; VentanaBloqueo = [[Escucha alloc] initWithContentRect: ScreenTrack StyleMask: NSBorderlessWindowMask backing: NSBackingStoreBuffered defer: No screen: [NSScreen main screen]];   

Where 'escua' is an NSWindow subclass

I How can I use one of the NIB designs? I will use a window controller to make it much easier and more ordered

For example: NSWindowControllerSubclass * Controller = [[NSWindowControllerSubclass alloc] initWithNibName: @ "nibName"];

Comments