<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/deviceDescription",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(py)deviceDescription"
  },
  "title" : "deviceDescription"
}
-->

# deviceDescription

A dictionary containing information about the window’s resolution, such as color, depth, and so on.

```
var deviceDescription: [NSDeviceDescriptionKey : Any] { get }
```

## Discussion

This information is useful for tuning images and colors to the window’s display capabilities. The contents of the dictionary are described in `Display Device—Descriptions`.

## See Also

[`usingColorSpaceName(_:)`](/documentation/AppKit/NSColor/usingColorSpaceName(_:))

Creates a new color object whose color is the same as the receiver’s, except that the new color object is in the specified color space.

[`deviceDescription`](/documentation/AppKit/NSScreen/deviceDescription)

The device dictionary for the screen.

[`bestRepresentationForDevice:`](/documentation/AppKit/NSImage/bestRepresentationForDevice:)

Returns the best representation for the device with the specified characteristics.



---

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)