1 year ago

#335616

test-img

Parth Patel

Make API call in tableView row and Update particular cell after API response?

I want to make an API call in the tableView cell and Update a particular row after API Response.

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
    // Here I want to call API
    // IF API call start for Cell index 0
    // After API Call 0 index cell should update.
}

I am looking best way to handle this scenario.

  • Best if this is possible without reloading tableView or tableViewCell.
  • Want to use the best of GCD and Concurrency operations.

Thank you in advance for your answers

ios

api

tableview

grand-central-dispatch

0 Answers

Your Answer

Accepted video resources