In Swift 4, NSFontAttributeName has been replaced with NSAttributedStringKey.font. Just fyi.
In Swift 4, NSFontAttributeName has been replaced with NSAttributedStringKey.font.
Just fyi.