Multi-threaded core-data iOS crashing?

The main rule for multi-threaded Core Data use is "thread confinement" of managed object contexts and persistent stores. This means, it is safe to have thread-local managed object contexts but not passing them from one thread to another. If you do, you have to handle on your own locking and synchronization.

You aren't creating the context with a concurrency type, or merging changes through a parent child context relationship, so your likely problem is a threading issue. Contexts are not thread-safe, and must be accessed or mutated on the same thread that created them.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions