How to set “NSBackgroundColorAttributeName” on TTTAttributedLabel, OHAttributedLabel or SETextView in Swift
问题 I'm trying to set NSBackgroundColorAttributeName attribute on TTTAttributedLabel , OHAttributedLabel or SETextView , but it's not work. Anyone have any idea? Sample code is followed. class ViewController: UIViewController { @IBOutlet weak var textLabel: UILabel! @IBOutlet weak var ttLabel: TTTAttributedLabel! @IBOutlet weak var ohLabel: OHAttributedLabel! @IBOutlet weak var seTextView: SETextView! override func viewDidLoad() { super.viewDidLoad() var content: String = "This is Test." var text