Tells the delegate that the window is being resized (whether by the user or through one of the
set methods other than
- macOS 10.0+
The window being resized.
The size to which the specified window is being resized.
A custom size to which the specified window will be resized.
frame contains the size (in screen coordinates)
sender will be resized to. To resize to a different size, simply return the desired size from this method; to avoid resizing, return the current size.
sender’s minimum and maximum size constraints have already been applied when this method is called.
While the user is resizing a window, the delegate is sent a series of
window messages as the window’s outline is dragged. The window’s outline is displayed at the constrained size as set by this method.