<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.12.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBorderlessWindowMask",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSBorderlessWindowMask"
  },
  "title" : "NSBorderlessWindowMask"
}
-->

# NSBorderlessWindowMask

The window displays none of the usual peripheral elements.

```
static const NSWindowStyleMask NSBorderlessWindowMask;
```

## Discussion

Useful only for display or caching purposes. A window that uses `NSBorderlessWindowMask` can’t become key or main, unless the value of [`canBecomeKey`](/documentation/AppKit/NSWindow/canBecomeKey) or [`canBecomeMain`](/documentation/AppKit/NSWindow/canBecomeMain) is <doc://com.apple.documentation/documentation/Swift/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.

---

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)