order(_:relativeTo:)
Repositions the window’s window device in the window server’s screen list.
Declaration
func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)Parameters
- place:
- Out: The window is removed from the screen list and
otherWinis ignored. - otherWin:
The number of the window the window is to be placed in front of or behind. Pass
0to place the window in front of (whenplaceisNSWindowAbove) or behind (whenplaceisNSWindowBelow) all other windows in its level.