Contents

styleMask

Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode.

Declaration

var styleMask: NSWindow.StyleMask { get set }

Discussion

The styleMask is settable on macOS 10.6 and later. Setting this property has the same restrictions as the styleMask parameter of init(contentRect:styleMask:backing:defer:). Changing the style mask may cause the view hierarchy to be rebuilt.

See Also

Configuring the Window’s Appearance