CloudKit & Offline Storage


What is the best practice when wanting to use CloudKit and also storing the data locally in case there is no network connection or even speeding up performance? I tried looking online but I can’t seem to find a good answer.

I was wondering if the answer is that I need to store the data using Core Data and sync it to CloudKit as well.