Sören · @chucker
435 followers · 10339 posts · Server norden.social

In a view-based , 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?

#nstableview #appkit

Last updated 2 years ago

Kuba Suder · @mackuba
128 followers · 195 posts · Server bitcoinhackers.org

One of those moments in programming when you need to get up from the keyboard and grab a pencil… 🤔

#nstableview #macdev #AppKit

Last updated 3 years ago