Post

Replies

Boosts

Views

Activity

Reply to SwiftData: SwiftData.PersistentIdentifierImplementation) was remapped to a temporary identifier during save
I was running into this with UPSERTs on initial app launch. I added a small delay of 0.1s before doing the UPSERT and no longer seeing the errors.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Memory leak in refreshable view
Here is what I would say is a much more appropriate fix for this issue—create the weak reference yourself: .refreshable { [weak viewModel] in await viewModel?.doNotThing() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24