title: How to create slide animation in iOS objective c to slide a view over other like in amazon ios app
body: <p>I am trying to create create an animation to slide a view over other and if reaches certain point, it should invoke an action. Look at the screen shots from amazon.
  <a href="https://i.stack.imgur.com/Anxbk.jpg" rel="nofollow noreferrer">amazon pic 1</a></p>
  
  <p><a href="https://i.stack.imgur.com/tAX3H.jpg" rel="nofollow noreferrer">amazon pic 2</a></p>