Core Data objects cannot be shared directly amongst multiple iCloud users as iCloud syncs data per user account. However, there are several ways to achieve data sharing amongst multiple iCloud users:
Use a central server: Create a backend server to host the data and have each user access and modify the data through the server. This can be achieved using REST APIs or web sockets.
Use a shared iCloud account: Create a shared iCloud account that all users can access and use to sync the data. This approach can be problematic as different users may make conflicting changes to the data.
Use CloudKit: CloudKit provides a database and server infrastructure to store and sync data amongst multiple users. Each user can access and modify the data through the CloudKit API. This approach provides a reliable and secure way to share data amongst multiple users.
Asked: 2023-07-15 13:15:49 +0000
Seen: 20 times
Last updated: Jul 15 '23