Skip to content

Instantly share code, notes, and snippets.

@xr1337

xr1337/gist:5704181

Last active Dec 18, 2015
Embed
What would you like to do?
RoundTouchButton 1
#import "RoundTouchButton.h"
@implementation RoundTouchButton
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
// Initialization code
}
return self;
}
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
// Drawing code
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment