title: How to set navigation bar font colour and size
body: <p>I have been trying to set both the font size and the font colour of the text in my navigation bar, however I have been having issues.</p>
  
  <p>Basically what seems to be happening is my two lines of code overwrite each other and I can only get them to work on their own.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    self.navigationController?.navigationBar.titleTextAttributes = [NSFontAttributeName: UIFont(name: "Avenir", size: 30)]
      self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]
  </code></pre>
  
  <p>What do I need to change so that I can change the font size and colour?</p>