     case .zoomOut:
       view.alpha = 1
       view.transform = CGAffineTransform.identity
-      UIView.animate(withDuration: options.duration, delay: options.delay, usingSpringWithDamping: 0.8, initialSpringVelocity: -0.8, options: .curveEaseOut, animations: {
-        view.transform = CGAffineTransform(scaleX: 0.01, y: 0.01)
+      UIView.animate(withDuration: options.duration, delay: options.delay, usingSpringWithDamping: 0.8,
+                     initialSpringVelocity: -0.8, options: .curveEaseOut, animations: {
+                      view.transform = CGAffineTransform(scaleX: 0.01, y: 0.01)
       }, completion: { _ in
         if completion != nil {
           completion!()

    case .zoomIn:
      view.alpha = 1
      view.transform = CGAffineTransform(scaleX: 0, y: 0)
      UIView.animate(withDuration: options.duration, delay: options.delay, usingSpringWithDamping: 0.8, initialSpringVelocity: 0.2, options: .curveEaseIn, animations: {
        view.transform = CGAffineTransform(scaleX: 1, y: 1)
      }, completion: { _ in
        if completion != nil {
          completion!()

      animate.duration = duration
      animate.repeatCount = Float.infinity
      animate.fromValue = 0.0
      animate.toValue = Float(.pi * 2.0)
      view.layer.add(animate, forKey: kAnimationKey)
    }
  }
