RoundButton 1.2.0.2

RoundButton 1.2.0.2

测试测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最后发布2017年10月

Paul Schifferer维护。



RoundButton 1.2.0.2

一个带框的圆形按钮,可以包含图片或文本

用法

集成

按钮

使用RoundButton相对简单。只需在代码中实例化它,或将其设置为通用UIView的特定类
并设置要显示的图片

RoundButton* b = [RoundButton new];
b.image = theButtonImage;

或者,设置要显示的文本

b.text = @"5";
b.textFont = @"AvenirNext-Regular";
b.textColor = [UIColor greenColor];

如果您需要显示徽标,设置徽标的属性

b.showBadge = YES;
b.badge = 3;
b.badgeColor = [UIColor redColor];

版权

版权所有 © 2016-7 Pilgrimage Software

许可证

有关详细信息,请参阅LICENSE