title: How to move textfield?
body: <p>I have textfield.</p>
  
  <pre><code>let textFld = UITextField(frame: CGRect(x: 250, y: 
  100, width: 200, height: 40))
  textFld.placeholder = "Enter text here"
  textFld.font = UIFont.systemFont(ofSize: 15)
  textFld.borderStyle = UITextBorderStyle.roundedRect
  textFld.autocorrectionType = UITextAutocorrectionType.no
  textFld.keyboardType = UIKeyboardType.default
  textFld.returnKeyType = UIReturnKeyType.done
  textFld.clearButtonMode = UITextFieldViewMode.whileEditing;
  textFld.contentVerticalAlignment = UIControlContentVerticalAlignment.center
  
  self.view.addSubview(textFld)
  </code></pre>
  
  <p>I want to move textfield with finger on screen. What do I need to do?
  <a href="https://i.stack.imgur.com/jhMBM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jhMBM.jpg" alt="Error"></a></p>
  
  <p><a href="https://i.stack.imgur.com/XCZ5z.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XCZ5z.jpg" alt="Bug"></a></p>