Instance Property

deviceDescription

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

Declaration

@property(readonly, copy) NSDictionary<NSDeviceDescriptionKey, id> *deviceDescription;

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

Accessing Window Information

defaultDepthLimit

Returns the default depth limit for instances of NSWindow.

windowNumber

The window number of the window’s window device.

+ windowNumbersWithOptions:

Returns the window numbers for all visible windows satisfying the specified options.

NSDeviceDescriptionKey

These constants are the keys for device description dictionaries used by deviceDescription.

canBecomeVisibleWithoutLogin

A Boolean value that indicates whether the window can be displayed at the login window.

sharingType

A Boolean value that indicates the level of access other processes have to the window’s content.

backingType

The window’s backing store type.

depthLimit

The depth limit of the window.

hasDynamicDepthLimit

A Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on.