NSAttributedString で文字列を装飾する

NSAttributedString を利用して、文字列を装飾することができます。Swift の記述方法の場合、

let text = NSAttributedString(string: "テキスト", attributes: [NSForegroundColorAttributeName : UIColor.blackColor()])

attributes に指定できるものは例えば以下のようなものがあります。

NSFontAttributeName : フォント (UIFont)
NSForegroundColorAttributeName : 文字色 (UIColor)
NSBackgroundColorAttributeName : 文字背景色 (UIColor)
NSKernAttributeName : 文字間隔 (NSNumber)
NSUnderlineStyleAttributeName : 下線を引くかどうか (NSNumber)
NSStrokeColorAttributeName : 縁取りの色 (UIColor)
NSStrokeWidthAttributeName : 縁取りの幅 (NSNumber)
NSStrokeWidthAttributeName : 縁取りの幅 (NSNumber)