title: swift dictionary in tableview
body: <p>I has add struct</p>
  
  <pre><code>struct lists {
      var title : String!
      var description : String!
  }
  </code></pre>
  
  <p>create dictionary:</p>
  
  <pre><code>var list = Dictionary&lt;String, String&gt;()
  var listArray = [lists]()
  </code></pre>
  
  <p>update data to dictionary:</p>
  
  <pre><code>list.updateValue("InquiryNumberCode", forKey: InquiryNumberCode)
  list.updateValue("InquiryNumberDescription", forKey: InquiryNumberDescription)
  list.updateValue("InquiryNumberValue", forKey: InquiryNumberValue)
  </code></pre>
  
  <p>run for loop to append listArray:</p>
  
  <pre><code>for (description, title) in list {
      print("\(title): \(description)")
      listArray.append(lists(title: title , description: description ))
  }
  </code></pre>
  
  <p>Tried insert data to Tableview cell has same error.</p>
  
  <pre><code>override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCell(withIdentifier: "detail", for: indexPath) as! DetailTableViewCell
      let celldata = listArray[indexPath.section]
      cell.titleOutlet.text = celldata.title[indexPath.row]
      return cell
  }
  </code></pre>
  
  <p>error:</p>
  
  <blockquote>
    <p>Cannot assign value of type 'Character' to type 'String?'</p>
  </blockquote>
  
  <p>I can't transfer data to Tableview cell, have any one can told me why?</p>