Post

Replies

Boosts

Views

Activity

Comment on Changes to SwiftData SubModels do not update the UI
Your code is non-standard because you embed a ModelObject (ItemDetail) inside another ModelObject (Item) without defining a relationship. Don’t do that. You need to either make ItemDetail a plain struct, or make it a @Model with a relationship defined between the two. I’ve never seen any Swift Data code that does what you do here. If you don’t wan to link the deletion, you can use deleteRule: .nullify instead.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Comment on JWT Token Errors
I had a customer email me over night that the error had gone away for them as well. I'll be reaching out to other affected customers but I'm cautiously hopeful. I've been working furiously to set up a API proxy server to route calls from the app through (thereby using the REST API on my server, and potentially getting rid of WeatherKit entirely). I still think I want to finish that work so I can have some insurance in case I need to suddenly switch weather providers.
Topic: App & System Services SubTopic: General Tags:
Jun ’25