Post

Replies

Boosts

Views

Activity

Preview Crash when renaming property in SwiftData Model
I am in the very early stages of app development using SwiftData, and find myself making frequent changes to my data models. I know ultimately that I would use migration when making schema changes, but at this early point in development that seems like over kill. in fact at this point I have only tested the app with previews. Is there a way to clear whatever the previews are caching when I make a change such as renaming a property? Clean Build folder does not fix this error, any guidance on how to handle this?
1
0
330
Jan ’24