In a view-based #NSTableView, how do I draw with the same color as text fields? I tried `cellView.textField?.textColor?.cgColor`, but that gives me the default text color, which is wrong when a row is highlighted. (It does, however, seem to work correctly with dark mode.)
I find many results for setting (overriding) the text color, but not… getting it in the first place.
Am I supposed to check myself if a row is selected?
One of those moments in programming when you need to get up from the keyboard and grab a pencil… 🤔 #AppKit #MacDev #NSTableView