Hidden TableViewCell Value
I'm reading data from a sqlite3 database and when I delete the TableViewCell I want to delete the corresponding row in the sqlite3 database. Therefor I must know the id of the row in question. I already asked how to recreate the original visual behavior of deleting a TableViewCell over here: https://forum.omz-software.com/topic/2733/delete-rows-in-tableview - And in the same function I would like to get the row id of that entry in the cell and delete the row in the sqlite database.
Do you want the row id from your sql table or the tableview? Either way I have some code from my snippet manager that can delete from a SQLite db the repo. Hopefully that helps as an example.
The SQL-Table row id.
Thanks! I'll have a look at it!
I solved it (way!!) less elegant but simpler: I just wrote the SQL row ID into the row text. That'll do for now. I was hoping for a simpler solution.