How do I share a Core Data store between processes using NSDistributedNotifications?

前端 未结 6 2055
星月不相逢
星月不相逢 2020-12-29 15:24

Background

I\'ve already posted a question about the basics of sharing a Core Data store between processes.

I\'m trying to implement the rec

6条回答
  •  半阙折子戏
    2020-12-29 16:12

    I used the method in

    http://www.mlsite.net/blog/?p=518

    then every object is correctly faulted but the faults are fetch in cache so still no update

    I had to do [moc stalenessInterval = 0];

    And it finally worked, with relationship.

提交回复
热议问题