Post

Replies

Boosts

Views

Activity

Reply to Core-Data one-to-many relationship
There's no reference to the todos in the lists view. Both views just show all the lists and all of the todos. This is why regardless of what list is selected, all todos are displayed. What you need to do is pass the list object into the todos view and access the todos for the list from there and when adding a new todo to a list, you need to add it to do the respective list item. I've implemented something like this before in my apps Aside and Deadlines, take a look at the source code for an example.
Jan ’23