title: uitextfield problem - retrieving
body: <p>I have a 3 text fields and a button. I want to press on the first uitextfield, press on the button and <code>hello world</code> to be pasted, and same goes to the others. I know how to do this, but my method is too basic and I need to keep the same pasting code .. (so I guess in a way what im asking is, how can I retrieve the uitextfield that the user presses so I can alter it)</p>
  
  <p>this is what i do:</p>
  
  <pre><code>if ( textfield1.isEditing ) {
     textfield1.text = ...
  }
  </code></pre>
  
  <p>Is there a way I can get rid of the variable <code>textfield1</code>, because if I have 1000 textfields I will have to write 1000 lines .. I can do loops but I want to retrieve the value somehow maybe using the sender? (new to xcode). </p>