Check out example codes for "update cell value swift". It will help you in understanding the concepts better.

Code Example 1

let cell = tableView.cellForRowAtIndexPath(IndexPath(forRow: 0, inSection: sender.tag)) as! DetailTableViewCell
cell.value = 0

Learn ReactJs, React Native from akashmittal.com