Simply call this method on action button, pass the reference to image view that you want to change and new image:
ImageSwapper.waterDrop(image: imageView, toImage: #imageLiteral(resourceName: "beer.png"))
ImageSwapper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ImageSwapper'
Stay tuned for new animations.
Feel free to open an issue, or find me @s_tsarikovskiy on Twitter.