removeView(_:)
Removes a specified view from the stack view.
Declaration
func removeView(_ view: NSView)Parameters
- view:
The view you want to remove from the stack view.
Discussion
This method removes a view from a stack view whether the view is attached or detached. For an attached view only, you can alternatively call the removeFromSuperview() method on the view.