title: Table data Swift
body: <p>I'm a code beginner. For my first app I tried to wrap up a code that let me show different data in different table. </p>
  
  <p>I don't understand why Xcode keeps notify me this error: EXPECTED DECLARATION. Can some one help me to fix this problem.</p>
  
  <p>Thank you so much.  </p>
  
  <pre><code> //
  //  ViewController.swift
  //  Tot_Forum
  //
  //  Created by Fausto Saltetti on 18/07/16.
  //  Copyright (c) 2016 Fausto Saltetti. All rights reserved.
  //
  
  import UIKit
  
  class FirtTableViewController: UITableViewController {
  
  var FirstTableArray = [String]()
  
  var SecondArray = [SecondTable]()
  
  override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view, typically from a nib.
      FirstTableArray = ["Focus on learning", "Participate and network", "Access and build knowledge", "Assess, reflect, evaluate", "Inspire and generate ideas", "Problem solve and plan", "Map ideas and relationships"]
  
      SecondArray =
          [SecondTable(SecondTitle: ["After Action Review","Audience Response Systems","Blogs","Case Studies", "Discussion Forums UPDATE","Jigsaw","Peer Assist", "Podcasting","Presentations", "Role Play", "Screencasting", "Social Networking", "Sociometrics"]),
              SecondTable(SecondTitle: ["After Action Review","Audience Response Systems","Blogs","Case Studies", "Discussion Forums UPDATE","Jigsaw","Peer Assist", "Podcasting","Presentations", "Role Play", "Screencasting", "Social Networking", "Sociometrics"]),
              SecondTable(SecondTitle: ["After Action Review","Audience Response Systems","Blogs","Case Studies", "Discussion Forums UPDATE","Jigsaw","Peer Assist", "Podcasting","Presentations", "Role Play", "Screencasting", "Social Networking", "Sociometrics"])]
  
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
      // Dispose of any resources that can be recreated.
  }
  
  override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int
      {
      return FirstTableArray.count
  }
  
  override func tableView(tableView: UITableView, cellForRowAtIndexPath    indexPath: NSIndexPath) -&gt; UITableViewCell {
      var Cell = self.tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! UITableViewCell
      Cell.textLabel?.text = FirstTableArray[indexPath.row]
      return Cell
  }
  
  func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
      var indexPath : NSIndexPath = self.tableView.indexPathForSelectedRow()!
      var DestViewController = segue.destinationViewController as!    SecondTableViewController
      var SecondTableArrayTwo : SecondTable?
      SecondTableArrayTwo = SecondArray[indexPath.row]
      DestViewController.SecondArray = SecondTableArrayTwo!.SecondTitle
  
  }  // EXPECTED DECLARATION
  </code></pre>