Recargar / Actualizar / refrescar un row o seccion en especifico de una tabla

//***Update Section tableView.reloadSections(IndexSet(integer: 2 /*or indexPath.section*/), with: .None) //or with animation tableView.reloadSections(IndexSet(integer: 1 /*or indexPath.section*/), with: .Fade) //***Update Row let indexPath = IndexPath(row: 0, section: 1 /*or indexPath.section*/) tableView.reloadRows(at: [indexPath], with: .none) //or with animation let indexPath = IndexPath(row: 4, section: 3 /*or indexPath.section*/) tableView.reloadRows(at: [indexPath], with: .fade)

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.