compose-uikit-sample icon indicating copy to clipboard operation
compose-uikit-sample copied to clipboard

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

Open LouisCAD opened this issue 2 years ago • 1 comments

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.

LouisCAD avatar Aug 03 '22 13:08 LouisCAD

@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

dima-avdeev-jb avatar Aug 03 '22 13:08 dima-avdeev-jb