StackOverflow Questions for Tag: swift-data-modelcontext

The-Wolf
The-Wolf

Reputation: 43

Relationship delete not working because an appropriate default value is not configured

Score: 0

Views: 94

Answers: 1

Read More
Jintae
Jintae

Reputation: 43

SwiftData 30 seconds delay on autosave

Score: 0

Views: 168

Answers: 2

Read More
Ryan Kanno
Ryan Kanno

Reputation: 115

How to update SwiftData fetch when upgrading to Swift 6?

Score: 0

Views: 114

Answers: 1

Read More
RRR
RRR

Reputation: 315

SwiftData - What are Data / Relationship Faults?

Score: 0

Views: 13

Answers: 0

Read More
RXP
RXP

Reputation: 677

ModelActor and "Publishing background changes from background threads is not allowed" warning

Score: -1

Views: 49

Answers: 1

Read More
Jintae
Jintae

Reputation: 43

SwiftData Unit Testing EXC_BREAKPOINT on insert

Score: 2

Views: 97

Answers: 1

Read More
pkamb
pkamb

Reputation: 34983

Testing SwiftData models in test target, "failed to find a currently active container"

Score: 0

Views: 484

Answers: 3

Read More
Sebbie_O
Sebbie_O

Reputation: 5

View is not updated after modelContext.delete(item)

Score: 0

Views: 151

Answers: 2

Read More
Alistair Cooper
Alistair Cooper

Reputation: 291

Do You Need 2 Bundle Ids and 2 Targets to Use Swift Data and CloudKit for Dev and Prod?

Score: 1

Views: 69

Answers: 0

Read More
moonvader
moonvader

Reputation: 21081

SwiftData no such table error for one of models

Score: 2

Views: 183

Answers: 0

Read More
CameronBaba
CameronBaba

Reputation: 83

Changing SwiftData @Model

Score: 1

Views: 2011

Answers: 2

Read More
Yianni
Yianni

Reputation: 1

SwiftData Models loses the relationship after the app closes and relaunches

Score: 0

Views: 166

Answers: 0

Read More
Jimbo17
Jimbo17

Reputation: 13

Unable to delete SwiftData object

Score: 0

Views: 35

Answers: 0

Read More
Serafin
Serafin

Reputation: 1

How to Initialize SwiftData Instances Only on First App Launch?

Score: 0

Views: 809

Answers: 1

Read More
OlivierM
OlivierM

Reputation: 3192

Application crash when trying to save (and fetch) a Model with unique attribute a second time

Score: 0

Views: 248

Answers: 1

Read More
RRR
RRR

Reputation: 315

SwiftData: Delete rule for many-to-many relationships

Score: 3

Views: 424

Answers: 0

Read More
Mat Fetsch
Mat Fetsch

Reputation: 1

How to use the .onDelete modifier on a filtered list

Score: 0

Views: 84

Answers: 0

Read More
Taylor Hartman
Taylor Hartman

Reputation: 11

Fatal error in ModelContainer.swift line 144 - failed to find currently active container for class

Score: 0

Views: 1207

Answers: 2

Read More
RRR
RRR

Reputation: 315

How to keep track of selected child items from an array?

Score: 0

Views: 76

Answers: 0

Read More
Barrrdi
Barrrdi

Reputation: 1161

Crash accessing SwiftData model context from environment in a child SwiftUI view in NavigationSplitView resulting in ability to @Query successfully

Score: 0

Views: 812

Answers: 0

Read More
PreviousPage 1Next