title: custom font not working programmatically in swift
body: <p>I've followed the step to to add custom fonts in xcode at <a href="http://www.shinobicontrols.com/blog/posts/2014/07/23/ios8-day-by-day-day-4-custom-fonts-in-interface-builder" rel="noreferrer">swift day-by-day</a> and
  <a href="http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/#doublechecktarget" rel="noreferrer">custom fonts</a> but I'm not able to set that font in app label programmatically.</p>
  
  <pre><code>var labeladd = UILabel(frame: CGRectMake(40, 50, 70, 22))
      //  label.center = CGPointMake(160, 284)
   ///  labeladd.font=UIFont.boldSystemFontOfSize(15)
     labeladd.font = UIFont(name:"Source Sans Pro",size:15)
      labeladd.textColor=UIColor.blackColor()
      labeladd.textAlignment = NSTextAlignment.Center
      labeladd.text = "this is custom fonts"
      myview.addSubview(labeladd)
  </code></pre>