あにめ
class func animationBtn(img : UIImageView){
img.transform = CGAffineTransformMakeScale(0.2, 0.2)
img.alpha = 0
UIView.animateWithDuration(2.0,
delay: 0,
usingSpringWithDamping: 0.8,
initialSpringVelocity: 3.0,
options: UIViewAnimationOptions.AllowUserInteraction,
animations: {
img.alpha = 1.0
img.transform = CGAffineTransformIdentity
}, completion: nil)
}