title: Can I get data from server when I clicked the static table cell?
body: <p>Can I get data from server when I clicked the static table cell?  </p>
  
  <pre><code>override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = super.tableView(tableView, cellForRowAt: indexPath)
      if indexPath.section == 1 {
          if indexPath.row == 0{
              cell.textLabel?.text = firstDay
          } else if indexPath.row == 1{
              cell.textLable?.text = secondDay
          }... // It have 7 row and 7 days
      }
  
      return cell
  }
  
  override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
      if indexPath.section == 1 &amp;&amp; indexPath.row == 0{
          retrieveTime()
      }
  }
  </code></pre>
  
  <p>I'm posting this format to get data, How I can get the selected cell label text and put it on the parameter(jobDate)..?</p>
  
  <pre><code>func retrieveTime(){
      let param = ["action": "retrieve time", "job": ["crew_id": crewID, "jobDate": firstDay]] as [String : Any]
  }
  </code></pre>