Monthly Archives: October 2018

[NSColor highlightColor] differs in dark mode

I noticed a point today while working on dark mode for Mojave 10.14. The value of -(NSColor*)highlightColor differs depending on whether you’re in light mode or dark mode. This particularly affects -(NSColor *)highlightWithLevel:(CGFloat)val; By calling: [[NSColor highlightColor] colorUsingColorSpace:[NSColorSpace genericRGBColorSpace]]; I … Continue reading

Posted in Macintosh, Writing Software | Leave a comment