swipe in a game

Can anyone please point me to the document where we can read more about swiping gesture for game? Learning to program myself, wonder if this is achievable in iOS.

Thank you so much. For example, a simple game


7 8 9
 4 
6 4 5 6

1 5 1 2
3
 1 2 1
in order to play the game, the user need to swipe 4 5 1 without lifting the finger(or  1 5 4 ) not hitting 1, 5, 31 one by one. Thank you so much in advance!

I found that touchesBegan, touchesMoved and touchesEnded methods from GameScene are some methods that I need to play with.

Replies

I believe you need drag and drop, not swipe. there are plenty of manuals to make it. Check http://raywenderlich.com

The Touches sample code is the proverbial example of touch input on iOS.