Skip to content
Browse files

Merge pull request #69 from darrylhthomas/squelch-log-spam

Squelch log spam
  • Loading branch information...
2 parents 468b277 + 30fd9e7 commit 87774dedc24fa1d5d9b08e947f63095325e5cca4 @AlanQuatermain committed May 31, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 Classes/AQGridView.m
View
5 Classes/AQGridView.m
@@ -1432,7 +1432,7 @@ - (void) touchesEnded: (NSSet *) touches withEvent: (UIEvent *) event
selector: @selector(_gridViewDeferredTouchesBegan:)
object: nil];
- UIView * hitView = [_touchedContentView retain];
+ UIView * hitView = _touchedContentView;
_touchedContentView = nil;
[super touchesEnded: touches withEvent: event];
@@ -1492,6 +1492,9 @@ - (void) touchesCancelled: (NSSet *) touches withEvent: (UIEvent *) event
_pendingSelectionIndex = NSNotFound;
[self highlightItemAtIndex: NSNotFound animated: NO scrollPosition: AQGridViewScrollPositionNone];
[super touchesCancelled: touches withEvent: event];
+
+ [_touchedContentView release];
+ _touchedContentView = nil;
}
- (void)doAddVisibleCell: (UIView *)cell

0 comments on commit 87774de

Please sign in to comment.
Something went wrong with that request. Please try again.