How to track multiple touches
<p>Hey I have a Good peice of code in my touches moved it was given to me by @Sam_M.</p>

<p>Im trying to basically keep track of the location of multiple fingers when there moving. Like Finger 1 is here and Finger 2 in there. So as of right now it will print the number of fingers/touches that are currently on the view and the location but It won't keep track of both individual fingers separately. Ive looked around at the only 3 other question that are on stackoverflow. But none gave me a good result i can implement in swift.</p>

<pre><code>override func touchesBegan(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {

for touch: UITouch in event!.allTouches()! {

for (index,touch) in touches.enumerate() {
    let ptTouch = touch.locationInNode(self.view)
    print("Finger \(index+1): x=\(pTouch.x) , y=\(pTouch.y)")
 }
}
</code></pre>

<p>}</p>

<pre><code>override func touchesMoved(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {

for touch: UITouch in event!.allTouches()! {

for (index,touch) in touches.enumerate() {
    let ptTouch = touch.locationInNode(self.view)
    print("Finger \(index+1): x=\(pTouch.x) , y=\(pTouch.y)")
  }
 }
}
</code></pre>