I am using Xcode 7. When using attributed text with custom font it displays in the storyboard but is not working on the device. I tried the following code:
var myMutableString = NSMutableAttributedString()
let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.lineSpacing = 8
paragraphStyle.alignment = NSTextAlignment.Center
myMutableString = NSMutableAttributedString(string: "\"Taking out my shorts and T-Shirt a night before has helped create a great morning routine for my walk\"", attributes: [NSFontAttributeName:UIFont(name: "Gotham Medium", size: 20.0)!])
myMutableString.addAttribute(NSParagraphStyleAttributeName, value:paragraphStyle, range:NSMakeRange(0, myMutableString.length))
quotesLabel.attributedText = myMutableString
Make sure that your app contains the font file for Gotham Medium. Check out this great article about Common Mistakes With Adding Custom Fonts in iOS Apps.