kAXFocusedWindowAttribute

The accessibility object that represents the currently focused window of this application. This attribute is recommended for all application-level accessibility objects.

Declaration

var kAXFocusedWindowAttribute: String { get }