TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Matt Condon.
It's a button! For iOS! And it bounces delightfully!
pod 'MCBouncyButton'
- (id)initWithImage:(UIImage *)image andRadius:(float)radius;
// OR
- (id)initWithText:(NSString *)text andRadius:(float)radius;
Then you can change styles with
- (void)setStyle:(MCBouncyButtonStyle)style animated:(BOOL)animated;
Where MCBouncyButtonStyle
is defined as:
typedef enum {
MCBouncyButtonStyleDefault,
MCBouncyButtonStyleSelected
} MCBouncyButtonStyle;
MCBouncyButton will automatically create a negative of your supplied image to use for the selected style.
You can change the following properties of the button.