title: Ambiguous reference to member 'tableView(_:numberOfRowsInSection:)'
body: <p>Wanna pass data from a ViewController which has TableView init, to another ViewController. But it's showing me the error "Ambiguous reference to member 'tableView(_:numberOfRowsInSection:)' "</p>
  
  <pre><code>@IBOutlet weak var completedCaseTableView: UITableView!
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      completedCaseTableView.delegate = self
      completedCaseTableView.dataSource = self
  
      // Do any additional setup after loading the view.
  }
  
  
  public func numberOfSections(in tableView: UITableView) -&gt; Int {
      return 1
  }
  
  public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return usrNameList.count
  }
  
  public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCell(withIdentifier: "CompletedCaseCell", for: indexPath) as! Admin_CompletedCases_TableViewCell
  
      cell.completedTktNum.text = usrTktList[indexPath.row]
      cell.completedUsrName.text = usrNameList[indexPath.row]
  
      cell.completedCustomerDp.image = UIImage(named: imageList[indexPath.row])
  
      cell.completedPostedDate.text = datesList[indexPath.row]
      cell.completedUsrReason.text = reasonList[indexPath.row]
      cell.statusOfCase.text = statusList[indexPath.row]
  
  
  
      return cell
  }
  
  public override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  
      if (segue.identifier == "AdminCompletedDetailsSegue" ){
  
          let adminCompletedDvc = segue.destination as! Admin_Completed_Details_ViewController
  
          if let indexPath = self.tableView.indexPathForSelectedRow {
  
              adminCompletedDvc.newTktNumNew = usrTktList[indexPath.row] as String
  
              adminCompletedDvc.customerUsernameAdmnNew = usrNameList[indexPath.row] as String
  
              adminCompletedDvc.postedDateAdmnNew = datesList[indexPath.row] as String
  
              adminCompletedDvc.customerReasonAdmnNew = reasonList[indexPath.row] as String
  
              adminCompletedDvc.customerCommentsAdmnNew = commentList[indexPath.row] as String
  
              adminCompletedDvc.customerImgAdmnNew = imageList[indexPath.row] as String
  
          }
  
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zctfn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zctfn.png" alt="Even after adding the tableview to tableview within Viewcontroller to Delegate and Datasource, and to @IBOUTLET, still getting this issue"></a></p>