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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -