Instance Property

supportedWindowDepths

A zero-terminated array of the window depths supported by the screen.

Declaration

@property(readonly) const NSWindowDepth *supportedWindowDepths;

Discussion

This is a C-style array of window depths. The returned values cannot be used directly. You must pass each one to a function such as NSBitsPerPixelFromDepth or NSColorSpaceFromDepth to obtain a concrete value for the desired screen.

See Also

Getting Screen Information

depth

The current bit depth and colorspace information of the screen.

frame

The dimensions and location of the screen.

deviceDescription

The device dictionary for the screen.

NSDeviceDescriptionKey

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

- userSpaceScaleFactor

Returns the scaling factor from user space to device space on the screen.

Deprecated
visibleFrame

The current location and dimensions of the visible screen.

colorSpace

The color space of the screen.

- canRepresentDisplayGamut:

A Boolean value indicating whether the color space of the screen is capable of representing the specified display gamut.

screensHaveSeparateSpaces

Returns a Boolean value indicating whether each screen can have its own set of spaces.