---
title: backingType
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/backingtype
---

# backingType

The window’s backing store type.

## Declaration

```swift
var backingType: NSWindow.BackingStoreType { get set }
```

## Discussion

Discussion The possible values for this property are described in NSWindow.BackingStoreType. You can set the property only to switch a buffered window to retained or vice versa; you can’t change the backing type to or from nonretained after initializing a NSWindow object (an error is generated if you attempt to do so).

## See Also

### Related Documentation

- [init(contentRect:styleMask:backing:defer:screen:)](appkit/nswindow/init(contentrect:stylemask:backing:defer:screen:).md)
- [init(contentRect:styleMask:backing:defer:)](appkit/nswindow/init(contentrect:stylemask:backing:defer:).md)

### Accessing Window Information

- [depthLimit](appkit/nswindow/depthlimit.md)
- [hasDynamicDepthLimit](appkit/nswindow/hasdynamicdepthlimit.md)
- [defaultDepthLimit](appkit/nswindow/defaultdepthlimit.md)
- [windowNumber](appkit/nswindow/windownumber.md)
- [windowNumbers(options:)](appkit/nswindow/windownumbers(options:).md)
- [deviceDescription](appkit/nswindow/devicedescription.md)
- [NSDeviceDescriptionKey](appkit/nsdevicedescriptionkey.md)
- [canBecomeVisibleWithoutLogin](appkit/nswindow/canbecomevisiblewithoutlogin.md)
- [sharingType](appkit/nswindow/sharingtype-swift.property.md)
- [displayLink(target:selector:)](appkit/nswindow/displaylink(target:selector:).md)
