Separate names with a comma.
Discussion in 'iOS Programming' started by RPGamerL99, Nov 9, 2008.
Is there an easy way for me to see how far the user drags his/her finger on the screen?
Check out the UITouch docs (https://developer.apple.com/iphone/...erence/UITouch_Class/Reference/Reference.html) and the "Touches" code sample (http://developer.apple.com/iphone/library/samplecode/Touches/).
Basically, you save a CGPoint to an instance variable when touchesBegan, then compare that when touchesMoved