title: save the text in a text field as a variable
body: <p>I have been searching for an hour with no success so hope one of you will have pity.  I am using Xcode 9 and Swift 4.</p>
  
  <pre><code>textIt.text = name
  </code></pre>
  
  <p>Works perfectly and I have used it in my app but</p>
  
  <pre><code>name = textIt.text
  </code></pre>
  
  <p>brings up the error code:</p>
  
  <blockquote>
    <p>Value of optional type 'String?' not unwrapped; did you mean to use '!' or '?'?</p>
  </blockquote>
  
  <p>All I want to do is to put some text from a variable into a field so the user can change it then I put the text back into the variable.</p>
  
  <p>What am I doing wrong?</p>