News for hackers. Stuff that matters.
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.
Re:SwiftUI by lanjoe9 on Monday June 10, 2019 @11:32AM (#20147646)
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.

Re:SwiftUI by myko on Monday June 03, 2019 @09:33PM (#20090905)
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.
Re:SwiftUI by Cthulhu_ on Tuesday June 04, 2019 @07:14AM (#20093837)
Wasn't that the default way of doing things in Android? That is, build your ui's in XML?
Re:SwiftUI by myko on Tuesday June 04, 2019 @07:40PM (#20100253)
By writing views programmatically in Android they mean writing them in Kotlin or Java, not XML. Almost no one does this.

Though Kotlin has an interesting looking DSL for doing that named Anko.