Post

Replies

Boosts

Views

Activity

Reply to SwiftUI, concurrency, responsive, or not.
3 days ago I said I didn't wish to sound critical. Ha!. I'd been hoping someone from Apple would come forward, even if they were to say I've been wasting my time. As we all know, they're extremely reluctant to own up when something doesn't work. SwiftUI is promoted to be cross-platform across Apple platforms - including macOS. They don't tell us this only applies for apps the size of an iPhone. I think I have every right to be critical, and I would very much appreciate a response from Apple - hopefully with some hope that I won't need to abandon this project.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’22
Reply to How to position multiple Views with a single Scene?
OK, so it was a dumb question as I now know it's possible to use VStack, HStack, etc. However, the recent macOS / Xcode update (15th March 2022) has introduced warning messages: Expression requiring global actor 'MainActor' cannot appear in default-value expression of property '_callsign'; this is an error in Swift 6 With no clues on how to solve. If only Apple would spend a little more time writing user friendly documentation.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Reply to How to position multiple Views with a single Scene?
To be clear, the above code produces this: The app I'm working on looks like this: The spectrum view is updated every 333ms from a source I have no control. The 40 Text fields and 73 Buttons are updated from a local server every 500ms. The app takes 12 seconds to launch and clicking the read close icon causes the app to hang for 20 seconds. While the networks are connected it's impossible to Quit, because the main thread is running at 99% cpu. I'm hoping SwiftUi can do better than this. As an experiment, I tested the spectrum view in a standalone app. I consumed only 1% of cpu.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Reply to SwiftUI, concurrency, responsive, or not.
3 days ago I said I didn't wish to sound critical. Ha!. I'd been hoping someone from Apple would come forward, even if they were to say I've been wasting my time. As we all know, they're extremely reluctant to own up when something doesn't work. SwiftUI is promoted to be cross-platform across Apple platforms - including macOS. They don't tell us this only applies for apps the size of an iPhone. I think I have every right to be critical, and I would very much appreciate a response from Apple - hopefully with some hope that I won't need to abandon this project.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to How to position multiple Views with a single Scene?
OK, so it was a dumb question as I now know it's possible to use VStack, HStack, etc. However, the recent macOS / Xcode update (15th March 2022) has introduced warning messages: Expression requiring global actor 'MainActor' cannot appear in default-value expression of property '_callsign'; this is an error in Swift 6 With no clues on how to solve. If only Apple would spend a little more time writing user friendly documentation.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to position multiple Views with a single Scene?
To be clear, the above code produces this: The app I'm working on looks like this: The spectrum view is updated every 333ms from a source I have no control. The 40 Text fields and 73 Buttons are updated from a local server every 500ms. The app takes 12 seconds to launch and clicking the read close icon causes the app to hang for 20 seconds. While the networks are connected it's impossible to Quit, because the main thread is running at 99% cpu. I'm hoping SwiftUi can do better than this. As an experiment, I tested the spectrum view in a standalone app. I consumed only 1% of cpu.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22