title: UIControlEventTouchUpInside in custom UIView
body: <p>The following function is applied to a set of UIViews.  Rather than have the color change upon finishing a touch, I would like for it to only change the color if the user touches up inside of the view.  Therefore it is still possible for the user to drag their finger outside of the view and thus the method will not fire.</p>
  
  <pre><code>- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
      self.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"o_tile.png"]];
  }
  </code></pre>