Drop-in button control with with particle effects similar to the Like button in Facebook Paper.
Add the following to your CocoaPods Podfile
or clone as a git submodule,
or just copy files in the
MCFireworksButton folder into your project.
Simply call methods
-animate to begin the particle effect.
Some basic bounce animations are included for convenience.
You can specify the particle texture and scales to be used in the particle effect:
self.likeButton.particleImage = [UIImage imageNamed:@"Sparkle"]; self.likeButton.particleScale = 0.05; self.likeButton.particleScaleRange = 0.02;
Alternatively you can use
MCFireworksView directly if you don't need UIButton functionality.
MCFireworksButton is under the MIT license.