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
YES. 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.
- macOS 10.0–10.12Deprecated
The window displays with a metal-textured background. Additionally, the window may be moved by clicking and dragging anywhere in the window background. A bordered window with this mask gets rounded bottom corners.
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 .
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.
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
contentLayoutGuide to lay out views underneath the title bar-toolbar area.