title: Adding custom font to project, programmatically add item to plist
body: <p>I want to add some font to my project. I have directory in my project contains fonts. So i can access to my font by:</p>
  
  <pre><code>NSString* path = [[NSBundle mainBundle] pathForResource:@"res_name" ofType:@"res_type" inDirectory:@"res_directory"];
  </code></pre>
  
  <p>But how to add it to my project so i will be able to call it like this:</p>
  
  <pre><code>[UIFont fontWithName:@"Font-Name" size:14.0]
  </code></pre>
  
  <p>I'm only interest how to do this <strong>programmatically</strong> I'm assume that I have to add it to my plist, but can i do this programmatically?</p>
  
  <p>I understand o have to use a in plist:</p>
  
  <pre><code>&lt;key&gt;UIAppFonts&lt;/key&gt;
  &lt;array&gt;
      &lt;string&gt;swellfont.ttf&lt;/string&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>But i cannot do this in Xcode manually. I want to check what fonts i included in my project in resource directory and add them programmatically from code.</p>