<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/stylemask-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated constants

[`static const NSWindowStyleMask NSBorderlessWindowMask;`](/documentation/AppKit/NSBorderlessWindowMask)

The window displays none of the usual peripheral elements.

[`static const NSWindowStyleMask NSTitledWindowMask;`](/documentation/AppKit/NSTitledWindowMask)

The window displays a title bar.

[`static const NSWindowStyleMask NSClosableWindowMask;`](/documentation/AppKit/NSClosableWindowMask)

The window displays a close button.

[`static const NSWindowStyleMask NSMiniaturizableWindowMask;`](/documentation/AppKit/NSMiniaturizableWindowMask)

The window displays a minimize button.

[`static const NSWindowStyleMask NSResizableWindowMask;`](/documentation/AppKit/NSResizableWindowMask)

The window displays a resize control.

[`static const NSWindowStyleMask NSTexturedBackgroundWindowMask;`](/documentation/AppKit/NSTexturedBackgroundWindowMask)

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.

[`static const NSWindowStyleMask NSUnifiedTitleAndToolbarWindowMask;`](/documentation/AppKit/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 .

[`static const NSWindowStyleMask NSFullScreenWindowMask;`](/documentation/AppKit/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(_:)`](/documentation/AppKit/NSWindow/toggleFullScreen(_:)) is called.

[`static const NSWindowStyleMask NSFullSizeContentViewWindowMask;`](/documentation/AppKit/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`](/documentation/AppKit/NSWindow/contentLayoutRect) or [`contentLayoutGuide`](/documentation/AppKit/NSWindow/contentLayoutGuide) to lay out views underneath the title bar-toolbar area.

[`static const NSWindowStyleMask NSUnscaledWindowMask;`](/documentation/AppKit/NSUnscaledWindowMask)

### Deprecated symbols

[`static var texturedBackground: NSWindow.StyleMask`](/documentation/AppKit/NSWindow/StyleMask-swift.struct/texturedBackground)

The window uses a textured background that darkens when the window is key or main and lightens when it is inactive, and may have a second gradient in the section below the window content.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)