title: Delete Row in a Table View
body: <p>I recently fixed a few errors I had in this code, but a new one showed up and me and my teacher haven't been able to fix it. It says "expected declaration"
  How do I fix this?</p>
  
  <pre><code>import UIKit
  
      class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
  
          var StoredValues = Values()
          override func viewDidLoad() {
              super.viewDidLoad()
          }
          override func didReceiveMemoryWarning() {
              super.didReceiveMemoryWarning()
          }
  
          func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
              return UITableViewCell()
          }
  
          func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
              return 4
          }
          func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
              self.performSegue(withIdentifier: "meunSegue", sender: self)
  
              func prepare(for segue: UIStoryboardSegue, sender: Any?) {
                  _ = segue.destination as! SecondViewController
              }
              class SecondViewController: UIViewController {
  
                  var recievedData = ""
                  override func viewDidLoad() {
                      super.viewDidLoad()
                      print(recievedData)
                  }
              }
          }
          - (void)tableView:(UITableView *)tableView committEditStyle: (UITableViewCellEditingStyle)editingStyle forRowAtIndexPath: (NSIndexPath *)indexPath {if (editingStyle == UITableViewCellEditingStyleDelete) {
          [maTheData removeObjectAtIndex: [indexPath row]];
          [tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
  
  
          }
      }
  </code></pre>