How to sync data between your app running on multiple devices?

<h1>Introduction</h1> <p>So the idea is to store the data of the app using&nbsp;<a href="https://developer.apple.com/documentation/coredata" rel="noopener ugc nofollow" target="_blank">Core Data</a>&nbsp;and use&nbsp;<a href="https://developer.apple.com/icloud/cloudkit/" rel="noopener ugc nofollow" target="_blank">CloudKit</a>&nbsp;to store this data in the cloud and sync it between the devices.</p> <p>In this story I will walkthrough the easiest and minimum amount of steps to get this up and running. What you will end up with is an app that is able to create and delete records and you will see it update on all your devices.</p> <p>If you came here just for the solution you can skip the backstory and go straight to the setup.</p> <h1>Backstory</h1> <p>Let me take you through the process I went through when I first attempted to create this and why I felt I needed to write this story.</p> <p>If you are like me, you quickly want to see if the tools provided by Apple work. You want to have the app open on the Mac and iPhone and see the data sync between those two platforms with your own eyes. This way you know you have a good foundation to build the rest of your app upon.</p> <p><a href="https://crystalminds.medium.com/how-to-sync-data-between-your-app-running-on-multiple-devices-3642d5678763"><strong>Visit Now</strong></a></p>