@drewmccormack in your SwiftCloudDrive what is the best way to do manual conflict resoliution for files.

Also we have seen issues (with SwiftData) whereNSPersistentCloudKitContainer sometimes wipes all local data when it thinks the user has logged out of iCloud.

Would SwiftCloudDrive be susceptible to the whereNSPersistentCloudKitContainer nuking all local data or does it make a local clone of the files?

@hishnash There is no conflict res yet. ATM, it just cleans up older versions and keeps the most recent. Adding it probably wouldn't be terribly difficult since it does look for versions already. Re: wipes, SwiftCloudDrive is literally just showing what is in the container on the device, making it easier to work with. So if you log out, those files would disappear. If you want to keep a local copy, best to use SwiftCloudDrive to copy the files to another location and manage that clone.
@drewmccormack I will take a look at adding on conflict closure if possible I will put up a PR.