TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2017 |
Maintained by Paul Schifferer.
A round, framed button with an image or text
Using the RoundButton is fairly simple. Just instantiate it in code, or set the custom class of a generic UIView to
"RoundButton". Set the image to be displayed in the button:
RoundButton* b = [RoundButton new];
b.image = theButtonImage;
Or, set text to be displayed instead:
b.text = @"5";
b.textFont = @"AvenirNext-Regular";
b.textColor = [UIColor greenColor];
If you need a badge displayed, set the badge properties:
b.showBadge = YES;
b.badge = 3;
b.badgeColor = [UIColor redColor];
Copyright © 2016-7 Pilgrimage Software
See LICENSE for details.