cocoanspathcontrol

How to change color of NSPathControl


Please take a look at this picture:enter image description here

I know how to change the text color:

  NSPathComponentCell *cell = [_pathControl pathComponentCells].firstObject;
  cell setTextColor:[NSColor redColor];

But i'd also like to change the color of the arrows, anyone know how to implement this?


Solution

  • Not supported out of the box - you need to roll your own.

    Or have a look at the various 3rd party implementations out there like ITPathbar: https://www.cocoacontrols.com/controls/itpathbar