title: touchesEnded with addGesture
body: <p>I am trying to get touchesEnded to fire after a gesture. I've included a code snippet where both touchesBegan and touchesEnded are enabled to fire. I get two odd behaviours with the code below. When I pan it prints begin and swiped ended. When I touch the canvas I get a begin and two end messages. </p>
  
  <p>I've tried removing the touchesBegan to be sure it doesn't conflict with touchesEnded but the behaviour is the same. </p>
  
  <pre><code>#import "C4WorkSpace.h"
  
  @implementation C4WorkSpace
  
  -(void)setup
  {
      [self addGesture:PAN name:@"pan" action:@"bbb:"];
      [self gestureForName:@"pan"].delaysTouchesBegan = NO;
      [self gestureForName:@"pan"].delaysTouchesEnded = NO;
  }
  
  -(void) bbb : (UIGestureRecognizer *) recognizer
  {
      if(recognizer.state == UIGestureRecognizerStateEnded)
          C4Log(@"Swipe Ended");
  }
  -(void) touchesBegan
  {
      C4Log(@"Begin");
  }
  -(void) touchesEnded
  {
      C4Log(@"End");
  }
  
  @end
  </code></pre>