Re:SwiftUI
by julius_set on Monday June 03, 2019 @06:18PM
(#20089524)
If you find iOS / macOS views cumbersome to write programmatically you should feel fortunate you didn’t have to write Android views programmatically.
[ Parent
| on HN ]
You can always create a layout XML file and inflate it. It saves tons of time. I can't imagine why you would do thing in code instead of inflating and attaching them.
Honestly, if not for SwiftUI, I find developing interfaces in Android to be infintely faster than either fighting Apple's Interface Builder or building things by code in Swift.
True but who does this? The Android framework isn't built to support that reasonably at all, at least not until Jetpack Compose becomes viable.
Wasn't that the default way of doing things in Android? That is, build your ui's in XML?