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

//***Update Section tableView.reloadSections(NSIndexSet(index: 2 /*or indexPath.section*/), withRowAnimation: .None) //or with animation tableView.reloadSections(NSIndexSet(index: 1 /*or indexPath.section*/), withRowAnimation: .Fade) //***Update Row let indexPath = NSIndexPath(forRow: 0, inSection: 1 /*or indexPath.section*/) tableView.reloadRowsAtIndexPaths([indexPath], withRowAnimation: .None) //or with animation let indexPath = NSIndexPath(forRow: 4, inSection: 3 /*or indexPath.section*/) tableView.reloadRowsAtIndexPaths([indexPath], withRowAnimation: .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.