title: Draggable label - ios
body: <p>I have a requirement to move a label around only when the user touches on it and drags. I cant find out whether the user touched that label or not. I have used the touchesMoved method(Swift 2). Below is my code</p>
  
  <pre><code>override func touchesMoved(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {
      super.touchesBegan(touches as Set&lt;UITouch&gt;, withEvent: event) 
      let touch = touches.first
  
    if (touch!.view) == (moveLabel as UIView) // moveButton is my label
    {
      location = touch!.locationInView(self.view)
      moveLabel.center = location
    }
  }
  </code></pre>
  
  <p>When I do this, my label is not moving :(
  someone help me please</p>