Swipe Left or Right in swift
<p>I have a page that retrieves data from the database to display info about the current info or previous or after</p>

<p>It goes that </p>

<pre><code>if Status = 1 it shows the current
Status = 2 it shows previous
Status = 0 it shows next
</code></pre>

<p>What I did so far is display the current data and it shows perfectly
I need to do a feature that when the user swipes right to left shows next
and left to right shows previous</p>

<p>Any Idea or guideline just from where to start</p>

<p>Thank you</p>