Core Data multithread store relations

后端 未结 1 647
天命终不由人
天命终不由人 2021-01-05 20:50

my problem is very strange and I am asking for help. I want to explain to you how my system works. I have two problem with this.

I am making application which have t

相关标签:
1条回答
  • 2021-01-05 21:30

    My understanding is that you are using child contexts. Child contexts are affected by many (many!) bugs you have to deal with.

    Pretty good article about that topic here:

    http://wbyoung.tumblr.com/post/27851725562/core-data-growing-pains

    My advice on that matter is to use a context directly connected to the store coordinator, not a child context. Everything will work fine using such a setup. You can use a private queue context of course.

    0 讨论(0)
提交回复
热议问题