SwiftUI will be six years old this June. How do you feel about it? Is it likely to survive another couple of decades, or do we need another reboot and new approach to UI?
@marcedwards 🚮
@stroughtonsmith 😂 Is there something around that you feel is the correct approach? I didn’t enjoy Auto Layout at all.
@marcedwards I never used autolayout, but I don't think layout is the most critical part of a UI framework at all — 98% of the layouts in my apps are done by hand in -layoutSubviews et al. UIKit is the most-correct thing out there (it was ‘AppKit 2.0’ after all), and I wish Apple had built an 'AppKit 3.0' to bridge all the platforms. Autolayout and late-era Interface Builder poisoned the well and drove people to yearn for something like SwiftUI, but both are unnecessary and completely optional
@stroughtonsmith @marcedwards not 100% sure I agree with layoutSubviews being enough but definitely agree SwiftUI has evolved into a kinda worse framework than UIKit. I think it wins at “take what’s in my head and put it on screen quickly” but then fails hard at a lot of things after that. Ironically, for an Apple framework, the biggest being polish.
@rustyshelf @marcedwards SwiftUI is just fancy layoutSubviews. There are any number of layout engines you can put on top of it, declarative, Interface Builder or otherwise. Loren Brichter had a block-based layout engine for Tweetie that might have taken off in an alternate timeline