title: Cannot get text from UITextField - Swift - iOS
body: <p>I have an iOS app written in Swift. I am struggling to get the text from the UITextField because my app crashes on this line of code:</p>
  
  <pre><code>let dataUser = self.userField.text
  </code></pre>
  
  <p>I get the following crash report:</p>
  
  <pre><code>fatal error: unexpectedly found nil while unwrapping an Optional value
  </code></pre>
  
  <p>What am I doing wrong?... all I want to do is get the text from the text field.</p>
  
  <p>Thanks, Dan.</p>