Informs the view that it has been added to a new view hierarchy.
- macOS 10.0+
The default implementation does nothing; subclasses can override this method to perform whatever actions are necessary.
If the view’s
window property is
nil, that result signifies that the view was removed from its window and does not currently reside in any window.