title: How to make UITextField's text selected programmatically
body: <p>I want to select all text from the UITextField selected when i start editing. I tried the below code but this doesn't work.</p>
  
  <pre><code>[txt selectAll:self];
  </code></pre>