Contents

windows

An array of the app’s window objects.

Declaration

var windows: [NSWindow] { get }

Discussion

This property contains an array of NSWindow objects corresponding to all currently existing windows for the app. The array includes all onscreen and offscreen windows, whether or not they are visible on any space. There is no guarantee of the order of the windows in the array.

See Also

Managing App Windows