Skip to content

Commit

Permalink
minor rename
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Apr 18, 2015
1 parent ad380f4 commit 0cdf1e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MGSwipeTableCell/MGSwipeTableCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ -(void) setSwipeOffset:(CGFloat)offset animated: (BOOL) animated completion:(voi

#pragma mark Gestures

-(void) cancelGestures
-(void) cancelPanGesture
{
if (_panRecognizer.state != UIGestureRecognizerStateEnded) {
_panRecognizer.enabled = NO;
Expand Down Expand Up @@ -981,7 +981,7 @@ -(void) panHandler: (UIPanGestureRecognizer *)gesture
NSArray * cells = [self parentTable].visibleCells;
for (MGSwipeTableCell * cell in cells) {
if (cell != self) {
[cell cancelGestures];
[cell cancelPanGesture];
}
}
}
Expand Down

0 comments on commit 0cdf1e7

Please sign in to comment.