How to sync NSPersistentDocument with iOS devices

Dears,


I'm currently finishing developing a macOS application that uses NSPersistentDocument to store the user's data.

The feedbacks from testers being positive, I'm thinking of developing an iOS version of the application for the user to be able to consult/manage his data on his iOS/iPadOS devices.

The 'problem' is that I use NSPersistentDocument and I could not find any lead on how to do this.

iCloud synchronization seems to have changed so much over the year, I cannot manage to find up-to-date recommendations for the 2020 way of achieving this - quite popular - functionality.


Any recommendation on how to do this the modern way ?


Thanks!