rnp

RNPulseButton

Esay to use pulse animation Button

Showing:

Popularity

Downloads/wk

0

GitHub Stars

67

Maintenance

Last Commit

2yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

RNPulseButton

Platform Swift Version License

Easy and Customizable iOS Pulse Animation Effect. You can connect Action(TouchUpInside) in storyboard(Like UIButton).

Demo

Example gif

Installation

RNPulseButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RNPulseButton'

At a Glance

Create Cusom Pulse

StoryBoard : Just make it! Adjust property from storyboard inspector

Programmatically

let pulse2 = RNPulseButton(frame: CGRect(x: 150, y: 300, width: 100, height: 100),
                           pulseRadius: 100,
                           pulseCount: 4,
                           pulseDuration: 3,
                           intervalTime: 0.4,
                           scaleFactor: 3,
                           repeatCount: 100,
                           pulseColor: UIColor.red,
                           normalImage: nil, selectedImage: nil)

Animation Start

pulse2.start()

Animation Stop

pulse2.stop()

Customizable Property

    pulseRadius: Double     // Pulse Radius
    pulseCount: Int         // Number of Pulse
    pulseDuration: Double   // Pulse Animation Duration
    intervalTime: Double    // Interval between Pulse
    scaleFactor: CGFloat    // Pulse Radius Scale Factor
    repeatCount: Int        // Animation Repeat Count
    pulseColor: UIColor     // Set Pulse Color
    normalImage: UIImage?   // (Optional) Set Normal State Image
    selectedImage: UIImage? // (Optional) Set Selected State Image

Author

Rodo, planon21@gmail.com

License

RNPulseButton is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial