Replies: 1 comment 5 replies
-
My first question would be: why do you need to use composeModifier in the first place? Did you try the "SwiftUI way" first, and what went wrong? ComposeView and composeModifier are generally for when you know you need a certain Android-specific solution |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, huge fan of Skip Tools!
Apologies for the slightly generic title but I wanted to demonstrate my perspective as an iOS developer (with limited Android knowledge) trying to use
composeModifier
:TextEditor
.TextEditor
to take up the full height.TextEditor
and see there ismodifier: context.modifier.fillWidth()
fillHeight()
fillHeight()
right? 👀composeModifier { $0.fillHeight() }
@Composable invocations can only happen from the context of a @Composable function
$0.fillWidth()
just to double check that would workCould you suggest how an iOS developer would know which import to use (I'm guessing there is no auto complete) and how to best use
composeModifier
?Beta Was this translation helpful? Give feedback.
All reactions