title: UIScrollView Delegate methods clashing
body: <p>I am using the following two UIScrollView delegate methods to call another method in my UIViewController:</p>
  
  <pre><code>-(void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
      // do something
  }
  
  - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate{
      // do something
  }
  </code></pre>
  
  <p>I've tried various different ways of calling //do something but either end up with both not being called, or both delegate methods being called, calling //do something twice in certain situations. For example:</p>
  
  <pre><code>-(void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
      if(![scrollView isDecelerating] &amp;&amp; ![scrollView isDragging]){
          //do something
      }
  }
  
  - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate{
      if(!decelerate){
          //do something
      }
  }
  </code></pre>
  
  <p>So with the above if I scroll and let it slow to a stop, it calls scrollViewDidEndDecelerating:, but if I scroll and stop it with a tap it calls both scrollViewDidEndDragging: and scrollViewDidEndDecelerating:</p>
  
  <p>I want it to call one or the other... is there something I can do with scrollViewDidEndDecelerating: and the scrollView object to stop this double method call?</p>