title: How to continue to drawRect: when finger on screen
body: <p>I have the current code: </p>
  
  <pre><code>- (void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
  
      self.objectPoint = [[touches anyObject] locationInView:self];
      float x, y;
      if (self.objectPoint.x &gt; self.objectPoint.x) {
          x = self.objectPoint.x + 1;
      }
      else x = self.objectPoint.x - 1;
      if (self.fingerPoint.y &gt; self.objectPoint.y) {
          y = self.objectPoint.y + 1;
      }
      else y = self.minionPoint.y - 1;
      self.objectPoint = CGPointMake(x, y);
  
      [self setNeedsDisplay];
  }
  </code></pre>
  
  <p>My problem is that I want to keep the object follow your finger until you take your finger off the screen. It will only follow if my finger is moving. <code>touchesEnded</code> only works when I take my finger off the screen, so that's not what I want either. How can I enable something that would solve my problem?</p>