2 Replies
      Latest reply on Jun 23, 2019 1:49 PM by nisenedeveloper
      master-nevi Level 1 Level 1 (0 points)

        The session "Using Core Data with CloudKit" (https://developer.apple.com/videos/play/wwdc2019/202/) spoke of a sample app for demonstrating the new NSPersistentCloudKitContainer and how it ties Core Data and CloudKit together. I didn't see it listed with the session resources; has it been uploaded somewhere else? If not, when can we expect the sample application to be posted?

          • Re: Posts Sample Application for 'Using Core Data with CloudKit'
            nisenedeveloper Level 1 Level 1 (0 points)

            Thanks, Arbargh.

             

            That's what I was looking for as well.

             

            One thing I'm confused about.  In the video, they were very specific about using the template for the app with CoreData dn cloudKit causing the little timestamp records to automagically sync to all other devices signed in.  This isn't what I'm seeing.  In the log, I can see events for NCCloudKitMirroingManager that seem to obviously be doing the sync, but the records never appear on the remote device. Also, I can verify that the records ARE exporting up to the CloudKit portal (I can log onto the devices using my developerID, and then I can see the records in my portal).  I just do't see any evidence of them being IMPORTED by the other device.

             

             

            Has anyone else seen this?  I'm trying to figure out whether I've missed a step before I move on to more complex examples.

             

             

            OBVIOUSLY, there's a bunch more code in the demo app pointed to above, and I have no illusion about complex, meaningful sync being completely free, but I want to make sure I have the template fully operational.

             

            Thanks in advance!