The Goal
I have an NSTableView in my app and I'd like to draw "overlapping" rows to create a "connecting" effect like that in Automator.app:
What I'm Trying
The approach I'm considering is to use NSTableView's -(NSRect)frameOfCellAtColumn:(NSInteger)columnIndex row:(NSInteger)rowIndex
method to increase the Y-origin of all rows after the first. My tableView is view-based and it does NOT use auto-layout.
My question is: is that the correct way to achieve this effect? It seems "dangerous" to have the tableView draw rows with overlapping frames and I can't figure out if this is going to result in a bunch of extra blank space at the bottom of the tableView (because the tableView doesn't take the overlapping frames into account when calculating its overall height; it just uses the sum of the rowHeight value from each row.)
Does anyone know if there's a different, canonical way to achieve the effect from the Automator tableView?