Does SwiftData work with public and shared databases

Generated on 8/3/2024

1 search

Yes, SwiftData works with public and shared databases. The framework provides synchronization with CloudKit, which allows for the use of public and shared databases. This is mentioned in the session What’s new in SwiftData, where it states that SwiftData supports synchronization with CloudKit.

Here are the relevant sessions mentioned in the context:

  1. Platforms State of the Union
  2. Create a custom data store with SwiftData
  3. What’s new in SwiftData
  4. Track model changes with SwiftData history