Store selected cell in TableView

Solution to this question https://stackoverflow.com/questions/51911991/how-can-i-save-checked-rows-of-tableview-in-userdefault/51923705?noredirect=1#comment98520742_51923705 Hello Abrcd18Link: https://stackoverflow.com/questions/51911991/how-can-i-save-checked-rows-of-tableview-in-userdefault/51923705#comment121897109_51923705 Solution: Hope to get upvote Abrcd18 🆙 😎.