title: CloudKit and Core sync data between devices
body: <p>I created a simple <code>Notes</code> app based on <code>Core data</code>. Now i want add sync between user devices. </p>
  
  <p>And  all  articles that i read (<a href="https://www.raywenderlich.com/134694/cloudkit-tutorial-getting-started" rel="noreferrer">this</a>, <a href="https://code.tutsplus.com/tutorials/an-introduction-to-cloudkit--cms-23775" rel="noreferrer">this</a>) said that i should fully get rid of my core data database, and all my code will lost and rework all with <code>ICloud kit</code>?</p>
  
  <p>The is no way to sync data from <code>Core Data</code> to <code>ICloud</code> ? And if i get rid of core data, how my app will work offline ?</p>
  
  <p>And please suggest good simple projects with <code>ICloud</code> sync</p>
  
  <p>P.S. I googled about an hour. Icloud is deprecated so do sync with it is not recommended. I confused. How now i can sync data between devices??</p>