title: How to check if UITextFields are empty?
body: <p>I have a bunch of UITextFields where a user must enter a number (the keyboard is the number pad) before pressing a submit button. When the submit button is pressed, a "check" method is called that wants to check if the data is valid... aka not empty. Now this would be easy if it was just one textField but I have 14. I want a simple if-statement that checks if one of the fields or all of the fields are empty....</p>
  
  <p>I have the follow UITextFields declared: number1, number2, number3 etc etc
  and I have the follow strings declared which can take the value of the UITextField.text... they are declared: temp1, temp2, temp3 etc...</p>
  
  <p>how would I go about making a pseudocode if statement like the one below?</p>
  
  <p>Thanks</p>
  
  <pre><code> if (!valid)
   {
  
  NSLog (@"not valid)
  } 
  
   else
  {
   //proceed to next method
  }
  </code></pre>