NSBorderlessWindowMask from Scratch

Discussion in 'Mac Programming' started by zgmg, Apr 14, 2013.

  1. macrumors newbie

    Mar 30, 2013
    How would I create an app with no title bar?

    Could someone/s help me create, from scratch, a Mac App that has no title bar? Thank you.
  2. macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    Haven't done that before, but look at the NSWindow documentation for the initWithContentRect methods and the style masks for them.
  3. macrumors member

    Jun 23, 2009
    You can set the Presentation mode in the info.plist, or you can make an NSView (not NSWindow) take over the screen.
  4. macrumors member

    Oct 9, 2008
    I'd suggest starting with Apple's borderless window sample project, RoundTransparentWindow. It's easy to understand if you know the basics, and it has a lot of helpful comments.

Share This Page