title: How to change font of UIButton with Swift
body: <p>I am trying to change the font of a UIButton using Swift...</p>
  
  <pre><code>myButton.font = UIFont(name: "...", 10)
  </code></pre>
  
  <p>However <code>.font</code> is deprecated and I'm not sure how to change the font otherwise.</p>
  
  <p>Any suggestions?</p>