https://kotlinlang.org logo
#compose
Title
# compose
d

Daniele B

12/01/2020, 3:13 PM
Sharing a slide I am preparing for my next talk, putting KMP and JetpackCompose and SwiftUI on a timeline
❤️ 2
t

tylerwilson

12/01/2020, 3:27 PM
Just need another line for Jetpack Compose (iOS). 🙂
d

Daniele B

12/01/2020, 3:33 PM
It would be much more useful one for Compose (Web) 😉
t

tylerwilson

12/01/2020, 3:34 PM
Not for me. 🙂
d

Daniele B

12/01/2020, 3:35 PM
I think it’s not a big burden to use SwiftUI on iOS, as long as it’s just 15% of the overall code
t

tylerwilson

12/01/2020, 3:36 PM
Agreed, that is what we have been doing thus far. But it is great fun to think about…
d

Daniele B

12/01/2020, 3:38 PM
Compose on iOS would never be able to match the “platform-authenticity” of SwiftUI. If you want to build first-class apps, you need native UI/UX
t

tylerwilson

12/01/2020, 3:39 PM
Agreed again. I looked at Flutter for a short time, but the Cupertino widget set was broken…
d

Daniele B

12/01/2020, 3:41 PM
I think Flutter has been a temporary parenthesis which will be washed away by Compose and SwiftUI
👍🏽 1
And above all, by Kotlin MultiPlatform. If you want to write long-standing projects, you want to use Kotlin and not Dart.
t

tylerwilson

12/01/2020, 3:43 PM
Another point that comes to mind looking at your graphic: SwiftUI releases match/require iOS releases, whereas Compose has thus far been good about sticking to a minimum of API 21. I find it rather annoying that we are expected to always support the latest iOS if using SwiftUI. Most of my apps are still iOS 11+ and one is still iOS 9+ (!!).
d

Daniele B

12/01/2020, 3:47 PM
Yes, I know it is annoying. Hopefully Apple will adopt a similar approach of JetpackCompose, by detaching SwiftUI from the iOS version. But in any case consider that Apple has slightly increased the lifetime support of its devices. Now it’s 5 years. iOS14 is supported by iPhone 6S, which was released in 2015. Targeting the latest iOS version is not completely terrible.
t

tylerwilson

12/01/2020, 3:48 PM
Yup, as soon as we get that one customer still running an iPad 1 to update… 🙂
d

Daniele B

12/01/2020, 3:49 PM
tell them to switch to Android 🙂
v

VM

12/02/2020, 5:01 PM
@Daniele B Are the timelines mentioned for Compose and KMP Beta and Stable announced dates or is this is a guesstimate
d

Daniele B

12/02/2020, 5:04 PM
There have not been official announcements yet. In terms of JetpackCompose however it seems very likely the 1.0 “stable” version will arrive by the end of 2021. For KMP, it’s not sure when and what they will call “stable”, but the technology is already stable despite it’s currently defined just as “Alpha”
v

VM

12/02/2020, 5:30 PM
Random optimistic math: For Compose there were 17 dev releases, we are on Alpha 7 and with 2 releases a month, we could be at Alpha 15 by March so ur dates makes sense..
We have been using Compose for a production app revamp - do u think we will get to relatively “stable” compose version by March
d

Daniele B

12/02/2020, 10:12 PM
Most major changes will happen in “Alpha” stage. Once in “Beta” stage (in Spring), changes should be very minor.
👍 1
2 Views