Customise NSPathControl
问题 I would like to make a custom NSPathControl . NSPathCell has the method + pathComponentCellClass , where you can return the custom class of the component cells. I have a NSPathComponentCell subclass, which I return right there, but it doesn't work. The method does not get called. Why? In the documentation is says: Subclasses can override this method to return a custom cell class that is automatically used. By default, the method returns [NSPathComponentCell class], or a specialized subclass