I have developed a program in iphone which manage cards, the main functionality is create cards (question, answer) and show them in a uitableview (this so far is working properly). Each card have two buttons namely: ok-false, my idea is that when the user click on ok button, this card will appear in a new uitableview2 and deleted from the uitableview1(I do not know how to do it). In advance I add a new attribute to my card table in sqlite namely counter which will increase anytime that the user click on ok, with the idea behind that when the counter increase then will perform the function that I need “delete from current uitableview and insert in new uitableview” if the user click false, then the card will be deleted from tableview2 and inserted in tableview1. I will appreciate any ideas folks.
Thanks!
Simply delete the row from table 1 when ok is tapped & add a row to table 2. Try something like-
Now add the same row to table 2-
HTH,
Akshay