title: Changing titleTextAttribute in swift
body: <p>Every since i updated xcode i cant seem to change the <code>titleTextAttribute</code>. Now when i use following code i get this error:</p>
  
  <blockquote>
    <p>could not find an overload init that accepts this supplied arguments</p>
  </blockquote>
  
  <p>Code in <code>appDelegate</code>:</p>
  
  <pre><code>UINavigationBar.appearance().titleTextAttributes = [NSFontAttributeName: UIFont(name: "Ubuntu", size: 17), NSForegroundColorAttributeName:UIColor.whiteColor()]
  UIBarButtonItem.appearance().setTitleTextAttributes([NSFontAttributeName: UIFont(name: "Ubuntu-Light", size: 15), NSForegroundColorAttributeName:UIColor.whiteColor()], forState: UIControlState.Normal)
  </code></pre>