I am wondering something about UIView, and adding subviews...
So say I add a subview to a baseLayerView as so:
self.newBaseLayer.addSubview(self.usernameLabel)
The UIView hierarchy/structure will, correct me if I'm wrong, like this:
newBaseLayer
- self.usernameLabel
And then later in the code, I add another subview:
self.newBaseLayer.addSubview(self.dateLabel)
And finally I add again the username label:
self.newBaseLayer.addSubview(self.usernameLabel)
Will the usernameLabel duplicate or replace the other like so:
newBaseLayer
- self.usernameLabel
- self.dateLabel
- self.usernameLabel
or
newBaseLayer
- self.dateLabel
- self.usernameLabel