Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-2 votes
0 answers
67 views

Is there a way to quickly read a lot of data from 'SwiftData'?

I will create an app that supports purchase records. I used 'SwiftData' to implement storage, backup, and restoration functions at once. One problem is that it takes a lot of time to read the data ...
KimJitae's user avatar
  • 233
0 votes
0 answers
21 views

About CloudKit Security Roles and Permissions

I've checked that there are some questions like mine. But the terminology seems to have changed and it's been time, so I opened a new question. Hi, I'm trying to add the ability to back up and record ...
KimJitae's user avatar
  • 233
1 vote
1 answer
91 views

Fatal error: 'try!' expression unexpectedly raised an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer)

I'm getting this error: Fatal error: 'try!' expression unexpectedly raised an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer) I'm able to reproduce ...
fer0n's user avatar
  • 892
1 vote
0 answers
89 views

SwiftData synced to iCloud with one-to-many relationship between 2 models results in a crash when each model contains a reference to the other [duplicate]

I’m having an issue when two of my SwiftData models have a one-to-many relationship and I have them synced via CloudKit. To be clear, I’ve met all of the requirements to make it iCloud friendly and ...
Barrrdi's user avatar
  • 1,111
1 vote
0 answers
254 views

Selecting which data models sync with iCloud SwiftData

So I am trying to sync only some of my Models with iCloud and others kept locally in the default.store. I am having a world of issues so before I start looking for the needle in my haystack. I would ...
RyanTCB's user avatar
  • 7,994