Skip to content

Instantly share code, notes, and snippets.

@hamin
Created March 23, 2012 21:20
Show Gist options
  • Save hamin/2175166 to your computer and use it in GitHub Desktop.
Save hamin/2175166 to your computer and use it in GitHub Desktop.
Cocoa (OS X) rounded corners
NSBezierPath *roundedRect = [NSBezierPath bezierPathWithRoundedRect:[self bounds] xRadius:6.0 yRadius:6.0];
[roundedRect fill];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment