I would like to have the grid color in an NSOutlineView to be the color of the background of the oultine view. The idea is that the grid should be invisible in most cases but not when the row background color is not the default one.
So I use:
myOutlineView.gridColor=myOutlineView.backgroundColor; // where the background color of the outline view is set to Default in the xib.
I had some concerns about the color not being dynamic for the grid color when switching between light and dark aqua. But it actually works fine.
The problem I have is that the grid color is not exactly the color of the background in Dark Aqua. So instead of the grid being invisible, it's a bit visible.
Question:
If the color of the background used to render an outline view is not exactly the value of backgroundColor, then what is it supposed to be? And why would it be different?