dima-avdeev-jb / compose-uikit-sample

0 stars 0 forks source link

How to integrate a composable into a UIView hierarchy, and the other way around? #2

Open LouisCAD opened 2 years ago

LouisCAD commented 2 years ago

Hello, On Android, we can use the AndroidView composable to embed a View into a composable, and we can use ComposeView to embed a composable in a View hierarchy.

How can we do the same for iOS and UIKit? I haven't found an example in this repo yet, but it's the first thing iOS developers are interested in.

dima-avdeev-jb commented 2 years ago

@LouisCAD Hi, thanks for question!

For now we don't have example, but we have plans to provide such samples. Issue exists: https://github.com/JetBrains/compose-jb/issues/2211