Im trying to enable multitouch gesture recognition for my application. I have been trying to maintain a data structure that would maintain touch traces (all the points in the life time of a touch from start to move to end) for multiple fingers.
It seems like the UIResponder methods gives only sets of touches that are active , moving or have ended at a particular point in time with no relation between the touches that have moved and the touches that started the move. Is there a way to establish this relationship, or am i missing something?
Any ideas on how i can data structure will also be helpful, or ideas on how i can get extremely fast multi touch response for gesture traces on my application will be helpful!
NOTE : I remember seeing a blog once which had a neat way to maintain pointers to touches started by multiple fingers and id-ing them using integers for each finger and use this to get a fast multi-touch response (not able to find it online now though!)