Instance Property

occlusionState

The occlusion state of the window.

Declaration

@property(readonly) NSWindowOcclusionState occlusionState;

Discussion

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

See Also

Managing Window Visibility and Occlusion State

visible

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