“Wow. Nice curves.”
#import <UIKit/UIKit.h>
- (void)drawRect:(CGRect)rect;
{
CGContextSetFillColorWithColor(UICurrentContext(), [UIView colorWithRed:0.5 green:0.5 blue:0.5 alpha:1.0]);
[[UIBezierPath roundedRectBezierPath:rect withRoundedCorners:kUIBezierPathAllCorners withCornerRadius:10.0] fill];
}