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
Comment on How to switch SwiftUI Views?
NavigationStack will take over an entire grid row or HStack, because Apple has yet to fix it. So this is still a problem.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on NavigationLink initializer unused
Because NavigationLink will take over the whole row! Apple STILL hasn't fixed this in Nov '24
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on Swiftui list row with multiple buttons?
Still a problem in November, 2024 and still the solution.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on onMove bug
I don't see Xcode or Swift listed there.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Nov ’24
Comment on Bug in .onmove for SwiftData models
This is clearly a bug in SwiftData. There is no point in having onMove if the move is only temporary. Either SwiftData needs to track the order, or onMove needs to be removed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24