How can I get NSScrollView to respect a clipping path
I am trying to make a NSScrollView with clipped corners, similar to the Twitter app: I have a NSScrollView subclass which I added the following code: - (void)drawRect:(NSRect)dirtyRect { NSBezierPath *pcath = [NSBezierPath bezierPathWithRoundedRect:[self bounds] xRadius:kDefaultCornerRadius yRadius:kDefaultCornerRadius]; [path setClip]; [super drawRect:dirtyRect]; } I expected the content of the NSScrollView to have rounded corners, but it is not respecting the clipped path. How can I do this? UPDATE & CLARIFICATION I know how to make a custom NSScroller , I know how to make it transparent