Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 827
christophriepe Avatar asked Oct 30 '25 05:10

christophriepe


1 Answers

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

like image 171
phiredrop Avatar answered Oct 31 '25 20:10

phiredrop



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!