1. Create a UIDynamicAnimator.
2. Recognize a touch, and add an
attachment behavior.
3. Update the attachment’s anchor point
during the gesture.
4. When the gesture ends, add a snap
behavior or a push behavior.
Slide 58
Slide 58 text
1. Create a UIDynamicAnimator.
2. Recognize a touch, and add an
attachment behavior.
3. Update the attachment’s anchor point
during the gesture.
4. When the gesture ends, add a snap
behavior or a push behavior.
Slide 59
Slide 59 text
1. Create a UIDynamicAnimator.
2. Recognize a touch, and add an
attachment behavior.
3. Update the attachment’s anchor point
during the gesture.
4. When the gesture ends, add a snap
behavior or a push behavior.
Slide 60
Slide 60 text
1. Create a UIDynamicAnimator.
2. Recognize a touch, and add an
attachment behavior.
3. Update the attachment’s anchor point
during the gesture.
4. When the gesture ends, add a snap
behavior or a push behavior.
Slide 61
Slide 61 text
Demo
Slide 62
Slide 62 text
Collection Views
Slide 63
Slide 63 text
Gotchas
Slide 64
Slide 64 text
Only 2D
Hard to visualize
Weird units
Everything’s a square
Not perfect for games