YES if the view is a subview of a given view or if it’s identical to that view; otherwise, it returns
The view to test for subview relationship within the view hierarchy.
The method returns
YES if the view is either an immediate or distant subview of
Managing the View Hierarchy
The view that is the parent of the current view.
The array of views embedded in the current view.
The view’s window object, if it is installed in a window.
Adds a view to the view’s subviews so it’s displayed above its siblings.
Overridden by subclasses to perform additional actions when subviews are added to the view.
Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles.
The view’s closest opaque ancestor, which might be the view itself.
Informs the view that it’s being added to the view hierarchy of the specified window object (which may be
Overridden by subclasses to perform additional actions before subviews are removed from the view.
The menu item containing the view or any of its superviews in the view hierarchy.