36. 範例觀摩:Touches
The Touches sample application
demonstrates how to handle touches,
including multiple touches that move
multiple objects. After the application
launches, three colored pieces appear
onscreen that the user can move
independently.
"Touches_Classic" demonstrates how
to handle touches using
UIResponder's: touches began,
touches moved, and touches ended.
"Touches_GestureRecognizers"
demonstrates how to use
UIGestureRecognizers to handle
touch events.