Color attribute is ignored in NSAttributedString with NSLinkAttributeName
In an NSAttributedString , a range of letters has a link attribute and a custom color attribute. In Xcode 7 with Swift 2, it works: In Xcode 8 with Swift 3, the custom attributed color for the link is always ignored (it should be orange in the screenshot). Here's the code for testing. Swift 2, Xcode 7: import Cocoa import XCPlayground let text = "Hey @user!" let attr = NSMutableAttributedString(string: text) let range = NSRange(location: 4, length: 5) attr.addAttribute(NSForegroundColorAttributeName, value: NSColor.orangeColor(), range: range) attr.addAttribute(NSLinkAttributeName, value: