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

# deviceDescription

The device dictionary for the screen.

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

## Discussion

This is a dictionary containing the attributes of the receiver’s screen. For the list of keys you can use to retrieve values from the returned dictionary, see `Display Device—Descriptions`.

In addition to the display device constants described in [`NSWindow`](/documentation/AppKit/NSWindow), you can also retrieve the <doc://com.apple.documentation/documentation/CoreGraphics/CGDirectDisplayID> value associated with the screen from this dictionary. To access this value, specify the Objective-C string `@"NSScreenNumber"` as the key when requesting the item from the dictionary. The value associated with this key is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing the display ID value. This string is only valid when used as a key for the dictionary returned by this method.

---

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)