Skip to content

danieljmac/DMCircleButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Circular UIButton subclass, with touch animations Simply init and set the colors, label, font, size and animation type:

DMCircleButton *pulseButton = [DMCircleButton buttonWithLabel:@"Pulse"
                                                  backgroundColor:[UIColor redColor]
                                                        textColor:[UIColor whiteColor]
                                                             font:[UIFont systemFontOfSize:17.0f]
                                                             size:80.0f
                                                    animationType:DMCircleButtonAnimationTypePulse];

Or, init with an image, instead of a label:

DMCircleButton *imgButton = [DMCircleButton buttonWithImage:[UIImage imageNamed:@"image"]
                                                backgroundColor:[UIColor greenColor]
                                                           size:80.0f
                                                  animationType:DMCircleButtonAnimationTypePulse];

About

Circular UIButton subclass, with touch animations Simply init and set the colors, label, font, size and animation type:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published