level
The window level of the window.
Declaration
var level: NSWindow.Level { get set }Discussion
See Window Levels for a list of possible values. Each level in the list groups windows within it in front of those in all preceding groups. Floating windows, for example, appear in front of all normal-level windows.
The constant NSTornOffMenuWindowLevel is preferable to its synonym, NSSubmenuWindowLevel.