---
title: preferredBackingLocation
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/preferredbackinglocation
---

# preferredBackingLocation

A Boolean value that indicates the preferred location for the window’s backing store.

## Declaration

```swift
var preferredBackingLocation: NSWindow.BackingLocation { get set }
```

## Discussion

Discussion See NSWindow.BackingLocation for possible values. It’s recommended that you set this property only when optimizing for performance.

## See Also

### Properties

- [backingLocation](appkit/nswindow/backinglocation-swift.property.md)
- [isOneShot](appkit/nswindow/isoneshot.md)
- [drawers](appkit/nswindow/drawers.md)
- [showsResizeIndicator](appkit/nswindow/showsresizeindicator.md)
- [isFlushWindowDisabled](appkit/nswindow/isflushwindowdisabled.md)
- [isAutodisplay](appkit/nswindow/isautodisplay.md)
- [graphicsContext](appkit/nswindow/graphicscontext.md)
- [windowRef](appkit/nswindow/windowref.md)
