Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Diary App Using Core Data Deleting and Updating Data Ins and Outs of Deleting Data

Eric Hodgins
Eric Hodgins
29,207 Points

Core Data, Ins and Outs of Deleting Data: Cell Animation doesn't work.

Hey, I can't seem to get the animation to work. I even downloaded the project files and it will not work for deleting cells. It works for inserting though. I just have no idea why.

Any help is appreciated!

Thanks, Eric

Mike Baxter
Mike Baxter
4,442 Points

Hey Eric, did you just add a few of the project files to your project, or did you try to run the entire project that you downloaded without intermingling it with your files?

Eric Hodgins
Eric Hodgins
29,207 Points

Hey Mike, I tried to run the entire project that i downloaded. No intermingling. It's the weirdest thing, I'm kinda baffled.

Mike Baxter
Mike Baxter
4,442 Points

Did you run this in the simulator or on a test device? Sometimes the simulator is weird... but I don't know if I've ever seen it be that weird. One of the first things you might try is to clean the project (Cmd + Shift + K). I think I remember one of the pros tweeting that he always does a few cleans if he runs into issues.

Eric Hodgins
Eric Hodgins
29,207 Points

That seemed to work somehow! I didn't know you could clean it like that. So that's really good to know. Thanks a lot for the help Mike!

Also, how do I mark that as best answer? Apparently I can't do that for a comment.

Mike Baxter
Mike Baxter
4,442 Points

I've added it as an answer rather than a comment, so that anyone who comes across this later can see what worked for you. Glad I could help!

1 Answer

Mike Baxter
Mike Baxter
4,442 Points

Did you run this in the simulator or on a test device? Sometimes the simulator is weird... but I don't know if I've ever seen it be that weird. One of the first things you might try is to clean the project (Cmd + Shift + K). I think I remember one of the pros tweeting that he always does a few cleans if he runs into issues.