What is the meaning of this contentView property? I mean: why aren't all the subheadings just added to self?
Let me get this right: each cell represents a view (UITabvleViewCell is a subclass of UIView). And this bold look has another bold look with the same borders, sitting on top of it, called a contentView. ContentView then wraps all other subviews.
Now why haven't they saved this extra chunk of memory? Is there any ingenious logic for this solution? I would like to understand the reason for this.
source
share