title: Cube transition between UIImages
body: <p>I would like to create a view that when scrolled horizontally transitions between an array of <code>UIImage</code> objects with a cube animation effect. For example:</p>
  
  <p><a href="https://i.stack.imgur.com/7iUhn.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7iUhn.gif" alt="enter image description here"></a></p>
  
  <p>Can someone please point me in the right direction on how I can scroll horizontally through an array of <code>UIImage</code> objects with a cubical transition animation in Swift?</p>