title: How to use custom fonts in a mac application?
body: <p>I try to use custom fonts in my swift app, but they don't load. </p>
  
  <p>I copy the fonts.ttf in my resources folder, and I added the names  in Info.plist under "Fonts provided by application " key. </p>
  
  <p>I've try with "Application fonts resource path" key from .plist , but no results.
  Here is the code I used to apply my font. I've try with : "MyFont.ttf" , and "MyFont" </p>
  
  <pre><code>@IBOutlet weak var label:NSTextField!
  
  override func awakeFromNib() {
      label.font = NSFont(name: "MyFont.ttf", size: 15)
  }
  </code></pre>