Advanced cache - what happens to deleted posts?


#1

in the chapter, we check to see if the new call to the forum returns new posts. we then have ListViewController add them in with row animation.

I tested by adding a new post. It did add to the table with animation, but when I went to delete my post. It still shows up in the Nerdfeed application. The cached version has the post. When clicking on it, I of course get an error that the link is invalid.

why was this scenario not accounted for? it seem when we get item delta, we should really be getting a list of the differences, both positive and negative


#2

A great deal of these applications have some rough edges to be ironed out if they were production code. We didn’t think people would like having to spend time crossing every t and dotting every i in a tutorial application - it’d be better spent learning new concepts.