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

Ayfri

09/12/2021, 6:45 PM
Hi, is there will be a iOS version of Compose soon ?
🚫 2
f

Foso

09/12/2021, 7:29 PM
No, there are experiments with the Compose runtime on iOS, but there is no Compose Ui Library
a

Ayfri

09/12/2021, 7:30 PM
Okay, is it planned ?
f

Foso

09/12/2021, 7:42 PM
I think JetBrains is interested in making it work, but at this time there are no plans or active development
👍 2
j

jw

09/12/2021, 8:08 PM
Do you mean Compose UI? We've been using Compose on iOS for about 6 months
😂 9
m

Mini

09/12/2021, 9:02 PM
@jw could you elaborate on that? Do you use foundation runtime for state management?
j

jw

09/12/2021, 9:03 PM
No. Just the compiler and runtime.
m

Mini

09/12/2021, 9:04 PM
What for?
j

jw

09/13/2021, 12:48 AM
Driving UIKit from composable functions
a

Ash

09/13/2021, 5:29 AM
Keep seeing this ... on the iOS side https://forums.swift.org/t/swiftui-for-non-apple-platforms-like-android-web-windows/25455 😂. Guess I am the only one who likes to do Compose on Android and SwiftUI on iOS ... 🤷🏽
m

Marko Novakovic

09/13/2021, 12:17 PM
@jw can you link some example, am really interested in how that can be done
j

jw

09/13/2021, 1:00 PM
Compose works on object trees and UIKit it an object tree. We also use Compose with Android's view system and the DOM on the web (prior to compose-web existing).
If you want to see an example of Compose with a custom tree my Mosaic project has a very simple one.
m

Marko Novakovic

09/13/2021, 1:39 PM
thanks. I found it on your github, I will take a look. it’s really interesting
3 Views