Instance Property


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


var isVisible: Bool { get }


The value of this property is true when the window is onscreen (even if it’s obscured by other windows); otherwise, false.

See Also

Managing Window Visibility and Occlusion State

var occlusionState: NSWindow.OcclusionState

The occlusion state of the window.