I have a view hierarchy that I need to remove entirely. Is it okay to just call removeFromSuperview on the top parent view or do I need to visit each child node recursively and remove it individually?
Edit: Just to clarify, I understand that removing the parent physically removes the children from view, but does that also decrease their ref-counts appropriately?
All subviews belong to the view; so, when you remove a view from it’s superview – it is removed with all it’s subviews.