title: Swift map on UILabel "Anonymous closure argument not contained in closure"
body: <p>Making three separate calls to <code>addSubview()</code> on <code>contentView</code> for an instance of <code>UITableViewCell</code> may be reduced to Swift <code>map(_:)</code>:</p>
  
  <pre><code>[nameLabel, numberLabel, informationLabel].map(contentView.addSubview($0))
  </code></pre>
  
  <p>The shorthand, however, throws an error: "Anonymous closure argument not contained in closure". Would <code>.forEach</code> be the best here? </p>