Post

Replies

Boosts

Views

Activity

Reply to Data Persistence not functioning upon refresh
UPDATE: Fix: Deleting/commenting out the sharedModelContainer in the 4th code block above, cleaning the build, and restarting my computer seems to have done the trick. What I've been told, applying two .modelContainer modifiers on the same WindowGroup was what was causing me the trouble.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’26
Reply to Data Persistence not functioning upon refresh
UPDATE: Fix: Deleting/commenting out the sharedModelContainer in the 4th code block above, cleaning the build, and restarting my computer seems to have done the trick. What I've been told, applying two .modelContainer modifiers on the same WindowGroup was what was causing me the trouble.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’26