Informs the view of the end of a live resize—the user has finished resizing the view.
- macOS 10.1+
In the simple case, a view is sent
view before the first resize operation on the containing window and
view after the last resize operation. A view that is repeatedly added and removed from a window during live resize will receive only one
view (on the first time it is added to the window) and one
view (when the window has completed the live resize operation). This allows a superview such as
NSBrowser object to add and remove its
NSMatrix subviews during live resize without the
NSMatrix receiving multiple calls to these methods.
A view might allocate data structures to cache-drawing information in
view and should clean up these data structures in
view. In addition, a view that does optimized drawing during live resize might need to do full drawing after
view. However, you should not assume that a view has a drawing context in
view (since it may have been removed from the window during live resize). A view that needs to redraw itself after live resize should set its
needs property to
A view subclass should call
super from these methods.