I have Subclass NSTextFieldCell and then override this method:
-(void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
{
NSRect customRect = cellFrame;
customRect.origin.y = cellFrame.size.height - 1;
customRect.origin.x = 0;
NSColor *color = [NSColor grayColor];
[color setFill];
NSBezierPath *path = [NSBezierPath bezierPathWithRect:customRect];
[path fill];
[super drawWithFrame:customRect inView:controlView];
}
At last I Set Class field of NSTextFieldCell in Interface Builder