Skip to content

Commit

Permalink
remove repeated semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanbo authored Aug 23, 2016
1 parent f346326 commit 23ab563
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MGSwipeTableCell/MGSwipeTableCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ -(UIView *) hitTest:(CGPoint)point withEvent:(UIEvent *)event
if (hide) {
[_currentCell hideSwipeAnimated:YES];
}
return _currentCell.touchOnDismissSwipe ? nil : self;;
return _currentCell.touchOnDismissSwipe ? nil : self;
}

@end
Expand Down Expand Up @@ -512,9 +512,9 @@ -(CGFloat) value:(CGFloat)elapsed duration:(CGFloat)duration from:(CGFloat)from
}
CGFloat (*easingFunction)(CGFloat t, CGFloat b, CGFloat c) = 0;
switch (_easingFunction) {
case MGSwipeEasingFunctionLinear: easingFunction = mgEaseLinear; break;
case MGSwipeEasingFunctionQuadIn: easingFunction = mgEaseInQuad;;break;
case MGSwipeEasingFunctionQuadOut: easingFunction = mgEaseOutQuad;;break;
case MGSwipeEasingFunctionLinear: easingFunction = mgEaseLinear;break;
case MGSwipeEasingFunctionQuadIn: easingFunction = mgEaseInQuad;break;
case MGSwipeEasingFunctionQuadOut: easingFunction = mgEaseOutQuad;break;
case MGSwipeEasingFunctionQuadInOut: easingFunction = mgEaseInOutQuad;break;
case MGSwipeEasingFunctionCubicIn: easingFunction = mgEaseInCubic;break;
default:
Expand Down

0 comments on commit 23ab563

Please sign in to comment.