by dimitrios1 · 6y ago · 0 comments
Outside of web-based technologies, what would you consider a "desirable option" for making UIs?
I don't think Apple developers have the experience to see how far behind SwiftUI is and how little chance there is of them catching up, and I don't think non-Apple developers have the experience to see there's very little 'special' to ObjC or Swift.
I’d agree at least that platform-specific developers can often keep themselves far too isolated. They really should be making an effort to work cross-platform as much as possible, because learning about the different patterns and techniques used in different environments is an incredible force multiplier.
Such as?
In any case, I'd assume those miles are only gained on iOS where Apple has gimped the newer web APIs.
- Flutter is the runaway winner, in general
- ARC looks like a mistake in retrospect - you trade 'GC overhead' for memory leaks
- keeping autolayout _and_ absolute frames looks like a mistake: a significant portion of SwiftUI overhead is spent in autolayout
- after working with Swift and _loving_ it between Swift 1 and 4, seeing the issues and watching Apple staff up and get more rigorous to solve them, stapling SwiftUI right now is unconsciable
- it requires contorting the language spec and the slow speed removes the one benefit of all the other frameworks, hot reload on device.
- Apple seems confused because they can _enumerate tractable work that would improve SwiftUI_, but the sum of that work is large enough to place a real, performant, cross platform Swift UI O(years) out (c.f. Swift's stable ABI clusterfoo)
How did people make iOS/macOS apps before SwiftUI? i.e. before 2020?