A Custom button that pulses. It is an Objective-C port of KDPulseButton.
- Copy YBPulseButton.h & YBPulseButton.m files into XCode Project.
-
Add a UIButton on XIB / Storyboard from Interface Builder and change its class from UIButton to YBPulseButton.
-
Customize its properties through Attribute Inspector.
-
There are a few properties you may change:
- pulseColor : the color of the pulse
- pulseRadius : the radius of the pulse
- pulseDuration : the duration of the pulse animation in seconds
- buttonColor : the color of the button
- cornerRadius : the radius of the button view
iOS 7.0+
MIT License