christophriepe
christophriepe

Reputation: 1673

Save Image to CoreData while CoreData synchronizes with CloudKit?

I am working on an App, that used CoreData with CloudKit using the default NSPersistentCloudKitContainer

My current CoreData Setup: Xcode Screenshot

Question: Does this Setup work with the CloudKit Synchronization? Or could the External Storage be a Problem? Or is there any other Problem? if so, how can I achieve my Goal of saving Images to CoreData and synchronize them via CloudKit?

Thanks a lot for your Help in Advance.

Upvotes: 4

Views: 911

Answers (1)

phiredrop
phiredrop

Reputation: 382

My understanding is that this should work for syncing the images from Core Data to CloudKit. If you check out the tutorial here, you'll find they also use the External Storage option for their image

https://www.raywenderlich.com/13219461-getting-started-with-core-data-and-cloudkit

Screeny from the demo project

Upvotes: 4

Related Questions