Post

Replies

Boosts

Views

Activity

Comment on Changes to SwiftData SubModels do not update the UI
Thank you for your response. As you mentioned, this is a test code. However, I don't understand why my model is non-standard. I know that my code as it is will never destroy the ItemDetail model. For this I put @Relationship(deleteRule: .cascade) inside the Item model and this solves my problem. And I still haven't found a solution for my problem, thank you.
Aug ’24
Comment on How to use async functions with WithAnimation
The code blocks are a bit complicated and I did not share a code example because I thought I would reach the solution from the idea you would give. Thank you very much for your response, thanks to the idea you gave, it is now completely working :) I have one more question that I did not get an answer, if you want to check it, I would be very grateful. Thank you very much for your time.
May ’24