UIView.animateWithDuration(1.0, delay: 1, usingSpringWithDamping: 1, initialSpringVelocity: 1, options: UIViewAnimationOptions.AllowUserInteraction, animations: {
var angle = degreesToRadians(180)
self.imageView.transform = CGAffineTransformMakeRotation(-angle)
}, completion: { (value: Bool) in })
UIView.animateWithDuration(1.0, delay: 1, using