Post

Replies

Boosts

Views

Activity

Comment on SwiftUI Laggy on a Real Device
I'm developing for a 27 inch iMac and having the exact same problem as you. The problem is obvious: the entire UI operates on just one thread AND re-renders stuff that hasn't been updated. There's no way to know when the rendering has finished and there's no way to separate areas within the UI to render independently. SwiftUI is nothing more than a failed proof of concept and Apple never respond when they know its their fault. I've found it hard enough learning Swift and SwiftUI, so I don't want start learning an about to be depreciated UIKit. So come on dear Apple, give us something that JUST WORKS. Perhaps I should have chosen Python. Certainly the networking would have been easier!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Comment on SwiftUI Toggle multiple times per frame
This looks very interesting - including how you use environment. My app is ambitious for a novice and I'm very slow. It has 8 Toggles with more to follow, so it will probably take me quite some time to try this out, but I will come back and let you know how it went. Thank you workingdogintokyo for responding with such detail.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’21
Comment on SwiftUI Laggy on a Real Device
I'm developing for a 27 inch iMac and having the exact same problem as you. The problem is obvious: the entire UI operates on just one thread AND re-renders stuff that hasn't been updated. There's no way to know when the rendering has finished and there's no way to separate areas within the UI to render independently. SwiftUI is nothing more than a failed proof of concept and Apple never respond when they know its their fault. I've found it hard enough learning Swift and SwiftUI, so I don't want start learning an about to be depreciated UIKit. So come on dear Apple, give us something that JUST WORKS. Perhaps I should have chosen Python. Certainly the networking would have been easier!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on SwiftUI: @StateObject never deinitialized
By WE, I presume you mean iOS developers. Perhaps you are unaware that serious apps need to be written for macOS, where there is often a need for pre and post UI processing. For this, a viewModel is the only sensible option.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Xcode 13.2 - Internal error : Missing Package Description Module
I needed to click UPDATE on the Xcode 13 page in the App Store. Maybe this was because the server was very busy at that time. Anyway, 13.2.1 is working now.
Replies
Boosts
Views
Activity
Dec ’21
Comment on Xcode 13.2 - Internal error : Missing Package Description Module
@Jason why don't you take it off the App Store until its working? Or does TODAY + ETA? + Fixed = NEVER ?
Replies
Boosts
Views
Activity
Dec ’21
Comment on Is SwiftUI usable?
I think I was taken in by Apple's marketing. In fact, it's not the only problem. I've discovered many things that don't work on macOS.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on SwiftUI Toggle multiple times per frame
I tried to tick your answer, but I accidentally ticked my own. Sorry.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on SwiftUI Toggle multiple times per frame
Thank you and I'm sure you're right, so I'm about to try out workingdogintokyo's suggestion.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on SwiftUI Toggle multiple times per frame
This looks very interesting - including how you use environment. My app is ambitious for a novice and I'm very slow. It has 8 Toggles with more to follow, so it will probably take me quite some time to try this out, but I will come back and let you know how it went. Thank you workingdogintokyo for responding with such detail.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21