Swipe action to strikethrough row in TableView

Evening ladies and gentleman, I am currently getting used to Swift and wanted to start with a little todo app. So far I can add an item and safe it persistently in a context. When an item has been added, it will be shown in a tableview. Now, I want to use a check swipe to strikethrough items, which have been added and safe this information in my context. Deleting using a swipe works perfectly fine.

Has anybody an idea how realize this? I tried to solve it by myself, but couldnt get it done. It suppose to look like this: https://stackoverflow.com/questions/50276214/add-strikethrough-to-tableview-row-with-a-swipehttps://i.stack.imgur.com/GnKyv.gif

Replies

So, what is your question ?


Looks like SO thread provided a detailed answer.


Did you try to implement it ?


What does not work ?