I'm using NSPersistentCloudKitContainer to sync and share some records between users with CloudKit and CoreData. Is working relatively well after adapting the sample code to my needs from the Apple website.
However NSPersistentCloudKitContainer has method called initializeCloudKitSchema to initialize and validate the CloudKit schema. What is the best practice to use it, as it seems it doesn't have a useful role (is not used in the Apple sample docs and code and the scheme is created anyway without it)?