title: How can I display multiple string values to multiple labels in a custom TableView Cell in swift ios?
body: <pre><code>var leadername = ["1","2","3","4"]
  
  var districts = ["Delhi","Kerala"]
  
  override func viewDidLoad() {
  
      leadTableSetup()
      super.viewDidLoad()
  }
  
  func leadTableSetup(){
  
      LeadTableView.delegate = self
      LeadTableView.dataSource = self
  
      self.LeadTableView.register(UINib(nibName: "LeaderBoardTableViewCell", bundle: nil), forCellReuseIdentifier: "leadCell")   
  }
  
  func numberOfSections(in tableView: UITableView) -&gt; Int {
  
      return 5
  }
  
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
  
      return 14
  
  }
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
  
      let cell = tableView.dequeueReusableCell(withIdentifier: "leadCell") as! LeaderBoardTableViewCell
      // Set text from the data model
      cell.areaLbl.text = districts[indexPath.row]
      cell.leaderNameLbl.text = leadername[indexPath.row]
  
      return cell
  }
  </code></pre>
  
  <p>I have declared two strings and I need to display these strings in the labels in my custom collection view cell that I have created. How can I achieve this? I need to display "leadername" string in one label and "districts" label in another label. </p>