What is the recommended approach to allowing a user to delete all the data they have in their Core Data store plus all the data mirrored to CloudKit via NSPersistentCloudKitContainer? How would such a technique work with multiple devices?
Delete all data from CloudKit using NSPersistentCloudKitContainer
There isn't one that guarantees all of the data is purged from the container. If you believe you need that functionality you can file a feedback report with some details about your use case and the intended outcome.
You can use NSBatchDeleteRequest to efficiently delete all of the objects in a store.
You can use NSBatchDeleteRequest to efficiently delete all of the objects in a store.