Instance Property


The occlusion state of the window.


var occlusionState: NSWindow.OcclusionState { get }


When the value of this property is visible, at least part of the window is visible; otherwise, the window is fully occluded.

See Also

Managing Window Visibility and Occlusion State

var isVisible: Bool

A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows).