News for hackers. Stuff that matters.
Re:Android’s Commitment to Kotlin by todd3834 on Saturday December 07, 2019 @01:46AM (#21728884)
I’ve been working on a MacOS app with Swift UI and I can say it has never felt easier. I love it.
Re:Android’s Commitment to Kotlin by izacus on Saturday December 07, 2019 @05:20AM (#21729481)
How well does it scale in complexity though? These easy declarative UIs tend to have a hard ceiling in complexity and then you're forced to rewrite everything. How does SwitftUI scale to complex and animation heavy UIs?
Re:Android’s Commitment to Kotlin by todd3834 on Saturday December 07, 2019 @10:21AM (#21730695)
I haven’t gone too far down the rabbit hole yet but I find it similar to React in complexity ceiling. I’ve built some extremely complicated UIs in React. You just have to break up your views as complexity grows.
Re:Android’s Commitment to Kotlin by cerberusss on Saturday December 07, 2019 @06:33AM (#21729722)
Animation is very well thought out, and quite easy.

As for complexity, you hit the ceiling very fast, and the solution is to break up in smaller and smaller custom views and modifiers.