Detect Gesture on Xcode 8.0 Swift 3.0
<p>What is an easy way to detect a swipe gesture in Xcode 8.0 Swift 3.0. I want to implement this into a segue that goes off the screen when a user swipes. </p>

<p>Thanks,</p>