title: Swift: How to display data from View Controller to Details View Controller
body: <p>I would like to display particular data from a TableView to Details_View_Controller.</p>
  
  <p>I have two labels. One label is a title, and I display this as a title in Details(Conference)_View_Controller.</p>
  
  <p>But I have more details to display in Details_V_C. All data I retrieve from Firebase Database. In console everything is retrieved but how to display everything in Details_View_Controller?</p>
  
  <p>I read this article: <a href="https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/TableView_iPhone/TableViewAndDataModel/TableViewAndDataModel.html#//apple_ref/doc/uid/TP40007451-CH5-SW2" rel="nofollow noreferrer">https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/TableView_iPhone/TableViewAndDataModel/TableViewAndDataModel.html#//apple_ref/doc/uid/TP40007451-CH5-SW2</a> but I have a SWIFT 3 and this article doesn't inlcude a properly explanation to the newest version of a swift.</p>
  
  <p><strong>JSON Tree:</strong></p>
  
  <pre><code>"conferences": {
  
                "date": "some date"
                "deadline": "some deadline"
                "place": "some place"
                "title": "some title"
  
                 }
  </code></pre>
  
  <p><strong>View Controller(TableView):</strong></p>
  
  <pre><code>override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
  
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell")
  
          let messageSnapshot: FIRDataSnapshot! = conf[indexPath.row]
          let message = messageSnapshot.value as! Dictionary&lt;String, String&gt;
  
         // print(message)
  
          let label1 = cell?.viewWithTag(1) as! UILabel
          label1.text = message["title"]
  
          let label2 = cell?.viewWithTag(2) as! UILabel
          label2.text = message["place"]
  
  
          return cell!
  
      }
  
      override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
  
  
  
          let messageSnapshot: FIRDataSnapshot! = conf[indexPath.row]
          let message = messageSnapshot.value as! Dictionary&lt;String, String&gt;
  
          let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
          let confDetails = storyBoard.instantiateViewControllerWithIdentifier("conferenceDetails") as! ConferenceViewController
          confDetails.title = message["title"]
  
  
  
          confDetails.conferenceDetailDict = message
          self.navigationController?.pushViewController(confDetails, animated: true)
  
      }
  </code></pre>
  
  <p><strong>Details(Conference) View Controller:</strong></p>
  
  <pre><code>class ConferenceViewController: UIViewController {
  
      var conferenceDetailDict: Dictionary&lt;String, String&gt; = Dictionary()
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          print(self.conferenceDetailDict)
          // Do any additional setup after loading the view.
  
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  </code></pre>
  
  <p>Could someone help me to resolve this situation?</p>
  
  <p><a href="https://i.stack.imgur.com/QwX3e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QwX3e.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/FBWN2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FBWN2.png" alt="enter image description here"></a></p>