title: How to change font for iOS app in Swift with dynamic size?
body: <p>I'm trying to change the font throughout an iOS app in Swift. I'm currently using:</p>
  
  <pre><code> var size:CGFloat = 16
  
   UILabel.appearance().font = UIFont(name: "Gudea", size: size)
  </code></pre>
  
  <p>Which changes every <code>UILabel</code> in my app to be the correct font. However, all labels are changed to size 16 despite different sizes assigned in the <code>Main.Storyboard</code>.</p>
  
  <p>Is there a way to assign a font to every <code>UILabel</code> without changing the sizes assigned in <code>Main.Storyboard</code>?</p>
  
  <p>or, perhaps,</p>
  
  <p>Is there a better way to change the font used throughout the app?</p>
  
  <p>Thanks!</p>