title: How do I change navigationBar font in Swift?
body: <p>This is what I have tried so far, but receiving an error (I have correctly implemented CaviarDreams to the project):</p>
  <pre><code>self.navigationController.navigationBar.titleTextAttributes = NSFontAttributeName[UIFont .fontWithName(CaviarDreams.ttf, size: 20)]
  </code></pre>
  <p>Error says: <code>Use of unresolved identifier 'CaviarDreams</code></p>