Contents

viewWillMove(toSuperview:)

Informs the view that its superview is about to change to the specified superview (which may be nil).

Declaration

func viewWillMove(toSuperview newSuperview: NSView?)

Parameters

  • newSuperview:

    A view object that will be the new superview of the view.

Discussion

Subclasses can override this method to perform whatever actions are necessary.

See Also

Responding to View-Related Notifications