title: Call textFieldDidEndEditing of UITextField when press UIButton
body: <p>Is there anyway to call <strong>textFieldDidEndEditing</strong> of UITextField when pressed UIButton? </p>
  
  <p>Current process is <strong>function</strong> in textFieldDidEndEditing can work when user press "<strong>Return</strong>" or "<strong>Done</strong>" button and click on UIButton. To make it clear, if <strong>ABC function</strong> in <strong>textFieldDidEndEditing</strong> to be run, user must press "<strong>Return</strong>" or "<strong>Done</strong>" button of Keyboard and then click on UIButton.</p>
  
  <p>What I want is I want to run <strong>function</strong> in textFieldDidEndEditing can work when user press UIButton.</p>