Post

Replies

Boosts

Views

Activity

Comment on unexpected nil
I can't try it now, but I believe that I did initially do it that way, but got an error. I wouldn't have checked for nil if I hadn't. By the way, this was to get around the bug in SwiftUI/SwiftData where you can move an item in a list, but it isn't tracked. That's a serious bug, but given that text to speech has been broken for a very long time, I don't expect this one to be fixed soon.
Nov ’24
Comment on GeometryReader problem
Thanks for the response. I already have a check for that: GeometryReader { geometry in let adWidth = geometry.size.width == 0 ? geometry.size.height : geometry.size.width NavigationStack { if adWidth > 0 { AdView(adWidth: adWidth) } So it's not crashing because of that. I'll put an error message in the main thread.
Dec ’24