DKCircleButton -
MIT
iOS
Objective-C
软件简介
DKCircleButton 实现了无需图片实现扁平化(Flat UI)风格的圆形按钮,并且有不错的点击按钮的效果。
示例代码:
- (void)viewDidLoad {
[super viewDidLoad];
DKCircleButton *button1 = [[DKCircleButton alloc] initWithFrame:CGRectMake(0, 0, 90, 90)];
button1.center = CGPointMake(160, 200);
button1.titleLabel.font = [UIFont systemFontOfSize:22];
}