title: How to change the text of Textfield on keyboard Done button in Swift?
body: <p>Hello all i know its very simple question but i did not found on google as well.</p>
  
  <p>In my case i am setting some default text in textfield and what i want is if user wants to give the different name to it then this new name should go the server otherwise the default text.</p>
  
  <p>Basically i want is rename functionality should be done when user press keyboard's done button but i dont know how to do that please help.</p>
  
  <pre><code>@IBAction func textFieldEditingDidChange(sender: AnyObject) {
         println("textField: \(textField.text)")
  }
  </code></pre>