donnieh
Jun 16, 2015 - 12:50
If I drop a table view in the ui editor...
1) How do I edit the cell text programmatically?
2) detect which cell was touched in the action function I create?
Some brief examples would be great...
If I drop a table view in the ui editor...
1) How do I edit the cell text programmatically?
2) detect which cell was touched in the action function I create?
Some brief examples would be great...
Check out ShowTableView example in the ui-tutorial. The tv1_action() method demonstrates how to detect which cell is tapped. To programmaticly change a value in a table, just modify the associated ListDataSource.