title: How to change text color of NSTextView
body: <p>How can I change the color of all text in a NSTextView? In the example below, <code>myTextView.textColor = .white</code> only changes color of <code>Hello</code> but not <code>World</code>. I don't want to specify the color every time when I append some text.</p>
  
  <p>Also I'm not sure if this is an appropriate way appending text to NSTextView.</p>
  
  <pre><code>    override func viewDidLoad() {
          super.viewDidLoad()
  
          myTextView.string = "Hello"
          myTextView.backgroundColor = .black
          myTextView.textColor = .white
  
          logTextView.textStorage?.append(NSAttributedString(string: "World"))
      }
  </code></pre>