table views code example
Example: table views
// for cell for row at function in a table view
let cell = UITableViewCell()
let toDos = toDo[indexPath.row]
cell.textLabel?.text = toDos.name
return cell