2 ms·
I am curious why you have such a low opinion of SwiftUI, most third party developers I have heard from are eager to drop Storyboards and switch immediately. Th
by nexuist 5y ago
I am curious why you have such a low opinion of SwiftUI, most third party developers I have heard from are eager to drop Storyboards and switch immediately.
The magic involved is not really magic at all, just Swift syntax sugar. Nothing about SwiftUI is proprietary, you can make your own SwiftUI variant by copy and pasting its code. It's just another library after all. Granted, some Swift features do seem like they were explicitly granted to make SwiftUI prettier, but it's not like you can't use those features in your own code or libraries too.
- chrismsimpson 5y agoIt’s not just syntax sugar. There is a lot of compile time code generation running behind the scenes. It also means there’s a lot of hidden determinism where there didn’t used to be. Storyboards were rubbish, I agree, but SwiftUI is more fundamental. Apple is abandoning the PostScript model which permeates every graphical computing paradigm (WinForms, GTK, Qt etc.), and if you don’t like programming with cotton gloves on, you’re basically not welcome. All very much a shame from my point of view, because UIKit is easily the most powerful UI toolkit around. It’ll be interesting to see how long third parties will continue to be able link against it directly.