Overridden by subclasses to perform additional actions before subviews are removed from the view.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
func willRemoveSubview(_ subview: NSView)
Parameters
subview
The subview that will be removed.
Discussion
This method is invoked when subview
receives a remove
message or subview
is removed from the view due to it being added to another view with add
.