Contents

selectedWindow

The selected, or frontmost, window in the tab group.

Declaration

weak var selectedWindow: NSWindow? { get set }

Discussion

This property returns the currently selected window within the tabbed window group. Setting this property visually changes the selected tab.

You can monitor this property for changes using key-value observing.

See Also

Managing Tabbed Windows