Hacker News new | ask | show | jobs
by dagmx 1270 days ago
As a counterpoint, I’ve done several Mac apps with SwiftUI for internal use and it’s been quite pleasant. Early SwiftUI was definitely rough, but it’s quite nice now as of Monterey and Ventura.

If you’re seeing high CPU use and slow performance, it might be due to high usage of ObservableObject or other things that may be triggering updates under the hood more often than need be.

SwiftUI is very sensitive to the data model structure since it’s a react style setup.

1 comments

Apple really needs to put some effort into evangelizing SwiftUI — some of the problem is poor or nonexistent Apple documentation and some is that every Stackoverflow answer is obsolete because the documentation is still so poor.

You can still run into walls with SwiftUI, but there are fewer of them than there used to be.