Specifies the duration of a smooth frame-size change.
The duration of the frame size change.
Subclasses can override this method to control the total time for the frame change.
NSWindow implementation uses the value from the
NSWindowResizeTime user default as the time in seconds to resize by 150 pixels. If this value is unspecified,
NSWindowResizeTime is 0.20 seconds (this default value may be different in different releases of macOS).
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).