Created
August 19, 2016 10:06
-
-
Save Wouter125/2c88fb0bd6f0e5747640389858803da2 to your computer and use it in GitHub Desktop.
Swipe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(activeCell.imageView.center.y < -110) { | |
//als de cell verder dan -110 is op de y as verwijderen we deze | |
} else if (activeCell.imageView.center.y >= -110 || activeCell.imageView.center.y <= 0) { | |
//Als de cell tussen -110 en 0 plaatsen we deze erboven | |
} else { | |
//Als dat in beide gevallen niet waar is, laten we hem terug vallen op de originele positie | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment