https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
s

Sanjeeviraj M

03/23/2023, 10:24 PM
Is there any link available to understand internals of compose iOS? Curious to know how is it different from Flutter, and how is it different from Android Compose.
n

Nikita Lipsky

03/24/2023, 7:05 AM
I doubt for now but stay tuned
s

Sanjeeviraj M

03/24/2023, 7:44 AM
Thanks
l

Landry Norris

03/27/2023, 5:34 PM
As of right now, the best link to understand the internals is https://github.com/JetBrains/compose-multiplatform-core/tree/jb-main
It seems like the runtime is mostly shared, so state management, recomposition, and all of that should be the same as Android (technically behind by a month or 2). The main difference is UI, where you’ll want to look at either the compose:ui module for high level code, or at skiko for the lower-level integration. Skiko github: https://github.com/JetBrains/skiko
o

Oleksandr Karpovich [JB]

03/27/2023, 5:47 PM
Not specifically about ios, but about the Compose internals https://jorgecastillo.dev/book/
l

Landry Norris

03/27/2023, 5:50 PM
How up to date is the book? I know there’s been a lot of internal changes in Compose, and there’s a lot more still in progress.
o

Oleksandr Karpovich [JB]

03/27/2023, 6:21 PM
If I remember correctly this book went out ~1.5 year ago. I'm not sure if it covers all the recent changes. Some core things about runtime probably still relevant.
a

Alejandro Rios

03/27/2023, 7:40 PM
I think they are in this slack
@Jorge Castillo
@shikasd
(not gonna tag them) 😅
m

Marcin Wisniowski

03/30/2023, 12:04 AM
If I remember correctly this book went out ~1.5 year ago
As far as I see the book is still unfinished, currently the page says it's 85% written. Would be interesting for it to be outdated before it's even done. 😄
w

wenjie.lu

04/18/2023, 8:20 AM
similar to Android’s ComposeView , it base on uikit View to custom canvas.If I say something wrong, please correct me.
s

Sanjeeviraj M

04/18/2023, 9:11 AM
Well i have explored the code. Found skia is bundled with iOS. Skia is already available in Android. The compose core uses skia for rendering. They have even explained it a little bit in Kotlin conf
s

Stefan Oltmann

04/18/2023, 3:36 PM
@Sanjeeviraj M Do you remember in which talk this was? I may have missed this.
a

Alejandro Rios

04/18/2023, 3:39 PM
I think is this

one

o

Oleksandr Karpovich [JB]

04/18/2023, 3:40 PM

https://youtu.be/03T-ARIo0t8?t=18746

- with time point
s

Sanjeeviraj M

04/18/2023, 3:50 PM

https://www.youtube.com/watch?v=03T-ARIo0t8

Talk about Compose iOS Timestamp - 5:13
48 Views