title: Repeat/Autoreverse animations in iOS 13.x
body: <p>Previously in swift you could do this:</p>
  <pre><code>let animator = UIViewPropertyAnimator(duration: 0.25, curve: .easeIn) {
    UIView.setAnimationRepeatCount(Float.infinity)
    UIView.setAnimationRepeatAutoreverses(true)
    let transform = CATransform3DIdentity
    let rotate = CATransform3DRotate(transform, 45, 1, 1, 0)
    self.ex.layer.transform = rotate
  }
  </code></pre>
  <p>However, now there is a deprecation message on <code>UIView.setAnimationRepeatCount</code> and <code>UIView.setAnimationRepeatAutoreverses</code>. Does anybody know what they was replaced with? Am I still able to use <code>UIViewPropertyAnimator</code>, or do I have to go to something like <code>CABasicAnimation</code>?</p>
  <p>Messages are:</p>
  <blockquote>
  <p>'setAnimationRepeatCount' was deprecated in iOS 13.0: Use the block-based animation API instead</p>
  <p>'setAnimationRepeatAutoreverses' was deprecated in iOS 13.0: Use the block-based animation API instead</p>
  </blockquote>