Reading List

Versioning Your SwiftData Schema from Michael Tsai RSS feed.

Versioning Your SwiftData Schema

Mohammad Azam: We started with a simple model. Then we added a new property and transformed existing data. Then we introduced a uniqueness constraint and cleaned up duplicates before enforcing it. Each change felt small in isolation. But every one of those changes altered the structure of data already stored on disk. […] SwiftData gives […]