Created
December 4, 2014 14:17
-
-
Save aaronschachter/ad1d2fae2371becfca8c to your computer and use it in GitHub Desktop.
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
UIImageView | |
UIPanGestureRecognizer (swipe, pinch, tap, pan = dragging) | |
tolerance for where to put it in the container | |
when the pan finishes, is it within 10 points of where i need to be. if so, snap it to there. | |
===== | |
UIView (like a div in HTML) | |
- If the card is anywhere inside the container, snap to it | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment