Positions the window’s top-left to a given point.
The new top-left point, in screen coordinates, for the window. When
NSZeroPoint, the window is not moved, except as needed to constrain to the visible screen
The point shifted from top left of the window in screen coordinates.
The returned point can be passed to a subsequent invocation of
cascadeTopLeft(from:) to position the next window so the title bars of both windows are fully visible.
var frame: NSRect
The window’s frame rectangle in screen coordinates, including the title bar.
var aspectRatio: NSSize
The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it.
var minSize: NSSize
The minimum size to which the window’s frame (including its title bar) can be sized.
var maxSize: NSSize
The maximum size to which the window’s frame (including its title bar) can be sized.
This action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window.
This action method toggles the size and location of the window between its standard state (provided by the application as the “best” size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window).