Added and Deleting TODO items

Maybe I’m thinking ahead here. But is there a way to use the observer pattern so that the data in the array/collection is tied to the tableview cells? That way when the collection is updated the cells are refreshed.

I don’t know if this solution works with Swift 4 since I have not tried this approach previously, but you could try something similar to what is detailed in this SO post:

1 Like

This topic was automatically closed after 166 days. New replies are no longer allowed.