Global Variable

kCGWindowBounds

Declaration

let kCGWindowBounds: CFString

Discussion

The value for this key is a CFDictionary type that must be decoded to a CGRect type using the makeWithDictionaryRepresentation(_:) function. The coordinates of the rectangle are specified in screen space, where the origin is in the upper-left corner of the main display.