Skip to content

Commit

Permalink
Merge pull request MortimerGoro#224 from MickeyHub/MickeyHub-semicolo…
Browse files Browse the repository at this point in the history
…n-removing

remove repeated semicolon
  • Loading branch information
MortimerGoro authored Aug 27, 2016
2 parents f346326 + 23ab563 commit 5aa8408
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 5aa8408

Please sign in to comment.