'Make API call in tableView row and Update particular cell after API response? [duplicate]
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
