Permalink
Browse files

Call to the delegate for the touch of a cell now happens on touchesEn…

…ded rather than touchesBegan.
  • Loading branch information...
1 parent eb32e78 commit 151fdc96acd529c9e62189e394905841625d92dc @danielctull committed Mar 8, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 DTGridView/DTGridViewCell.m
View
4 DTGridView/DTGridViewCell.m
@@ -32,9 +32,9 @@ - (void)prepareForReuse {
self.selected = NO;
}
-- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
+- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
[self.delegate gridViewCellWasTouched:self];
- [self.nextResponder touchesBegan:touches withEvent:event];
+ [super touchesEnded:touches withEvent:event];
}
- (void)dealloc {

0 comments on commit 151fdc9

Please sign in to comment.