NSBorderlessWindowMask
The window displays none of the usual peripheral elements. Useful only for display or caching purposes. A window that uses
NSBorderlessWindowMask
can’t become key or main, unless the value of canBecomeKeyWindow
or canBecomeMainWindow
is true
. Note that you can set a window’s or panel’s style mask to NSBorderlessWindowMask
in Interface Builder by deselecting Title Bar in the Appearance section of the Attributes inspector.NSTitledWindowMask
The window displays a title bar.
NSClosableWindowMask
The window displays a close button.
NSMiniaturizableWindowMask
The window displays a minimize button.
NSResizableWindowMask
The window displays a resize control.
NSUnifiedTitleAndToolbarWindowMask
The window’s title bar and toolbar have a unified look—that is, a continuous background. A horizontal separator line appears under the title bar and toolbar .
NSFullScreenWindowMask
The window can appear full screen. A fullscreen window does not draw its title bar, and may have special handling for its toolbar. This mask is automatically toggled when
toggleFullScreen:
is called.NSFullSizeContentViewWindowMask
When set, the content view consumes the full size of the window; it can be combined with other window style masks, but is only respected for windows with a title bar. Using this mask opts in to layer backing. Use the
contentLayoutRect
or contentLayoutGuide
to lay out views underneath the title bar-toolbar area.