title: Swift: Programmatically make UILabel bold without changing its size?
body: <p>I have a UILabel created programmatically. I would like to make the text of the label bold without specifying font size. So far I have only found:</p>
  
  <pre><code>UIFont.boldSystemFont(ofSize: CGFloat) 
  </code></pre>
  
  <p>This is what I have exactly:</p>
  
  <pre><code>let titleLabel = UILabel()
  let fontSize: CGFloat = 26
  titleLabel.font = UIFont.boldSystemFont(ofSize: titleLabelFontSize)
  </code></pre>
  
  <p>But this way I am also setting the size. I would like to avoid that. Is there a way?</p>
  
  <p>If there is no way, what would be a good workaround in Swift?</p>
  
  <p>Thank you!</p>