I'm getting issues with NSAtrributedString no matter which path I take and can't seem to figure out what the issue is.
With the code below I get: Cannot invoke 'init' with an argument list of type '(string: StringLiteralConvertible, attributes: $T6)'
let cancelButtonTitle = NSAttributedString(string: "CANCEL", attributes: [NSFontAttributeName: buttonFont, NSForegroundColorAttributeName: UIColor.whiteColor()])
Any ideas where the issue lies? I've tried in xcode 6.1 and 6.2.