A practical walkthrough of observing SwiftData history and sending local changes to a custom backend.
Why read: Useful for understanding one-way synchronization and the role persistent history plays in an offline-first workflow.
Mohammad Azam Advanced · 12 min read
Learn how to replace SwiftData's default SQLite store with a custom JSON-backed data store while continuing to use familiar APIs such as @Query, ModelContext, insert, delete, and save.
Why read: An in-depth exploration of one of SwiftData's most advanced capabilities. The article explains snapshots, the DataStore protocol, custom configurations, persistent identifiers, and the architecture required to build your own persistence layer.
Mohammad Azam Advanced · 25 min read
Practical guidance for modeling, querying, previewing, testing, and synchronizing SwiftData applications.
Why read: Useful when your persistence requirements have grown beyond a few direct @Query examples.
Mohammad Azam Intermediate · Book