Iphone UITextField take integer
<pre><code>int integer = [myUITexrtField.text intValue];
</code></pre>

<p>I know this thing with this we can get the int value from the textField
But i want to give a integer value to the textField.
I am using this.</p>

<pre><code>int i=10;
[myUITexrtField.text intValue]=i;
</code></pre>

<p>But it's not working.</p>
