I’ve been almost exclusively using SwiftUI for a year. Here’s what I found:
1) it’s way faster to create than any other framework (including other declarative ones like React) while getting good looking results. Biggest benefit.
… is great, but I still find myself using #if os(?) more than I would like. I wish all APIs existed on all platforms but didn’t do anything like some APIs on catalyst.
3) Performance isn’t great especially on macOS. I keep trying but no matter what I do, macOS is always laggy
SwiftUI needs more control over performance and rendering like UIKit has.
4) SwiftUI needs more independence from UIKit and AppKit. Why is attributedstring supported on Text but not TextView?! I can make my text editor 100% cross platform SwiftUI if that was the case.
5) the SwiftUI app cycle is still lacking a lot of essential features and multi-window support (especially for document based apps) is still not good.
Overall, SwiftUI is still my preferred framework and I haven’t made a new UIKit project in over a year, but I wish that it was better since over the past few years, it hasn’t progressed as much as I liked especially on macOS and iOS.
Much like Swift 1.0-3.0, SwiftUI should have broken away from the yearly updates and been updated more often. Who knows how far we would have gotten with Swift if that was the case? I waiting a year for AttributedString in a TextView is not good
• • •
Missing some Tweet in this thread? You can try to
force a refresh