NSBorderlessWindowMask from Scratch

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

  1. macrumors newbie

    Joined:
    Mar 30, 2013
    #1
    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

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

    Joined:
    Jun 23, 2009
    #3
    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

    Joined:
    Oct 9, 2008
    #4
    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