Hi, I’ve just been building an app based on the chapter 9 example (Multiple Managed Object Contexts).
However, my app uses two entities, instead of the one.
The only problem is that if you edit an existing emoji’s category, it doesn’t trigger the table to update.
However, after restarting the app the emoji will be in its correct section.
The EmojiCategory entity is used for the section count & titles which I think is set up correctly.
I’ve pasted in the sections that I think may contain the problem. Any help spotting the issue would be greatly appreciated! It follows the sequence from ‘prepare for segue’ in the root VC, to editing the emoji in the next VC, & then passing the emoji back to the root VC to save. (I highlighted a few sections that I’m unsure about too.)
Back to the Root VC