|
|
|
|
|
by supercucumber
1270 days ago
|
|
System Preferences was rewritten for Ventura in SwiftUI, which is absolutely not ready for production, especially on Mac. Speaking from personal experience, I recently wrote a simple macOS app using SwiftUI. I found the framework to be slow (why does it use so much cpu/memory when idle??), unintuitive, and awkward to use. Despite being in its 4th year, SwiftUI is still very much beta software, and I wouldn’t recommend using it for anything serious. |
|
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.