title: Clear all Text Fields using a for loop?
body: <p>I've used:</p>
  
  <pre><code>IBOutlet UITextField *text1, *text2;
  </code></pre>
  
  <p>for referring my textfields.</p>
  
  <p>And I clear each one using:</p>
  
  <pre><code>[text1 setText:@""];
  [text2 setText:@""];
  </code></pre>
  
  <p>If I wanted to clear all at once using a for loop, how should I write the code ?</p>