Swift - Save checkmarks selected in TableView
I am fairly new to Swift and I am having an issue on TableView multi-selection. I have multiple selections that I can check with a checkmark, similar to to-do list. When I check the items I want to be able to come back to the ListView and have my selections saved. I'm assuming that the code to keep this in saved state would go somewhere here? This is the class where the individual cell item checkmark is written : class ListItem: NSObject { let itemName: String var completed: Bool init(itemName: String, completed: Bool = false) { self.itemName = itemName self.completed = completed } } Can