Post

Replies

Boosts

Views

Activity

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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’24
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
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.
Replies
Boosts
Views
Activity
Nov ’24
Comment on unexpected nil
If that helps get it fixed, great! But in the end, the whole system needs to work together. Swift, SwiftUI, Xcode... all are hurt when one fails, and they're failing often.
Replies
Boosts
Views
Activity
Nov ’24