There is a video of the talk "View Based NSTableView Basic to Advanced" (available here) in which the background below the last line is drawn.
In order to extend that technique, you can create a subclass of NSTableView and add a little code:
// somewhere in your setup code (colors just intended as examples):
tableView.colors = [NSArray arrayWithObjects: [NSColor lightGrayColor],[NSColor grayColor], nil];
// In the table view subclass:
-(void)drawBackgroundInClipRect:(NSRect)clipRect
{
// The super class implementation obviously does something more
// than just drawing the striped background, because
// if you leave this out it looks funny
[super drawBackgroundInClipRect:clipRect];
NSRect boundsToDraw = clipRect;
CGFloat yStart = 0;
NSInteger rowIndex = -1;
if ( clipRect.origin.y < 0 ) {
while (yStart > NSMinY(boundsToDraw)) {
CGFloat yRowTop = yStart - self.rowHeight;
NSRect rowFrame = NSMakeRect(0, yRowTop, boundsToDraw.size.width, self.rowHeight);
NSUInteger colorIndex = rowIndex % self.colors.count;
NSColor *color = [self.colors objectAtIndex:colorIndex];
[color set];
NSRectFill(rowFrame);
yStart -= self.rowHeight;
rowIndex--;
}
}
}