title: How to detect Swiping UP, DOWN, LEFT and RIGHT with SwiftUI on a View
body: <p>I'm getting into building Apple Watch apps.</p>
  
  <p>What I'm currently working on will require me to make use of detecting swipes in the four main directions (<code>UP</code>, <code>DOWN</code>, <code>LEFT</code> and <code>RIGHT</code>)</p>
  
  <p>The problem is I have no idea how to detect this. I've been looking around and I'm reaching dead ends.</p>
  
  <p>What can I do to my view below to just print <code>swiped up</code> when the user swipes <code>UP</code> on the view?</p>
  
  <pre><code>struct MyView: View {
      var body: some View {
          Text("Hello, World!")
      }
  }
  </code></pre>
  
  <p>Thanks.</p>