I have a custom implementation of NSTableRowView to display my data cells. The table also contains group rows using a simple NSTextField .
In my view of a specific row, I need to slightly modify the drawing of the lower delimiter depending on whether the next line below is a data cell (i.e. my custom row) or group heading.
In the case of the group header, I do not need to draw a separator, otherwise I get a 2px separator, as shown in the screenshot.
Is there a way to get a link to the next (or previous) instance of NSTableRowView from [NSTableRowView drawBackgroundInRect:...] ?

source share