title: Please, how do I change this animation from kotlin to swift?
body: <p>I investigated but I could not find anything like this for Swift. Can you please help me make this animation in Swift?</p>
  <pre><code>Val animador = ValueAnimator.ofFloat(0.0f ,1.0f)
  animador.repeatCount = ValueAnimator.INFINITE
  animador.interpolator= LinearInterpolator()
  animador.duration = 10000L
  
  animador.addUpdateListener { animation -&gt;
  val progreso = animador.animatedValue as Float
  Val anchura = fondo!!.width
  fondo!!.traslationx = transicionX
  fondo2!!.traslationx = transicion X -anchura
  
  }
  animador.start()
  </code></pre>