title: How to use the scroll view content offset property?
body: <p>I have the following code:</p>
  <pre><code>   if scrollView.contentOffset.x == 10 {
              print(&quot;works&quot;)
          }
  </code></pre>
  <p>Although when I scroll to the left or right nothing get's printed to the console. I know this is really basic although I'm just trying to understand this before I dive deeper.</p>