title: swift: Move animation
body: <p>I have viewController in storyboard. And 4 squares. I want to place my squares on view. At first I want to show two squares. If I press on button I want to my red 2 squares move left and I show next 2 blue squares. Like this animation.  </p>
  
  <p><a href="https://i.stack.imgur.com/bhz9Y.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bhz9Y.gif" alt="enter image description here"></a></p>
  
  <p>Do I need to create a <code>scrollView</code> or <code>collectionView</code> or <code>something else</code> to move the squares? What the best way to create this?</p>