title: Checking if textfields are empty Swift
body: <p>I know there are tons of stack overflow pages out there that explain how to do this but everytime I take the code from here and put it in i get the same error and that error is value of "string?" has no member "text" Any ideas of a solid way that will work for checking if a textfield is empty in swift?</p>
  
  <pre><code>let userEmail = userEmailTextField.text;
  // Check for empty fields
  if (userEmail.text.isEmpty) {
      // Display alert message
      return;
  }
  </code></pre>