title: Update UIlabel text with a String
body: <p>I have a label in the prototype table view cell, and also a <code>UITextviewfield</code>, I want to update the text of the label by using <code>UITextviewfield</code>. </p>
  
  <p>first I created a struct:</p>
  
  <pre><code>struct CellElements {
     let title: UILabel
  }
  </code></pre>
  
  <p>then an array:</p>
  
  <pre><code>var list = [CellElements] ()
  </code></pre>
  
  <p>then I use these codes to add the text inside the <code>UITextfield</code>to the list array and later I will add them in the table view. </p>
  
  <pre><code> @IBOutlet weak var inputField: UITextField!
   @IBAction func addName(_ sender: UIButton) {
      list.append(inputField.text)
  }
  </code></pre>
  
  <p>the problem is, swift doesn't let me to do that with this error</p>
  
  <pre><code>Cannot convert value of type 'String?' to expected argument type 'CellElements'
  </code></pre>
  
  <p>I will appreciate for your help in advance. </p>