Add border to all labels in a view
<p>In my app I have a custom view <code>containerView</code> in this view there are more than 20 labels and I want to apply a border style to all of them.</p>

<p>Is there a way to avoid to add the border to each of them avoiding to have a long list?</p>

<p>Something similar to:</p>

<pre><code>for each label in containerView {

   labels.layer.borderColor = UIColor.greenColor.CGColor

}
</code></pre>