https://kotlinlang.org logo
Title
l

Landry Norris

05/13/2022, 6:11 PM
I am glad to see how well compose multiplatform does with platform integration. I am using the experimental support for iOS in a toy project, and I can already render a static UIView to a Composable. Working on touch support now.
Along this line, I noticed that ComposeLayer is internal, which prevents me from creating a SkikoUIView. Will this or some other way of hosting compose inside a UIView be public when Compose for iOS is declared ready?
t

Thomas

05/13/2022, 6:46 PM
I don’t have an answer for your question, but as long as you are just trying it out and would like to access internal code, just add this to the top of your file:
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
👍🏻 1
👍 3
f

Fudge

05/13/2022, 9:05 PM
Wow, would love to hear more about your ios experience in #compose-ios
l

Landry Norris

05/13/2022, 9:19 PM
I wasn’t aware of that channel before. Thanks.