is there a way to do partially native ui and parti...
# multiplatform
h
is there a way to do partially native ui and partially compose on ios or do you have to choose one or the other?
j
Very much possible to do use both if needed.....for particular screens or even just part of a screen.
Small example in https://github.com/joreilly/PeopleInSpace of using Compose for part of SwiftUI screen
h
Awesome tysm!
👍 1
j
Also https://github.com/joreilly/FantasyPremierLeague where one particular CMP screen is used in the iOS client
One other aspect of that PeopleInSpace example is that not only is Compose UI used within a SwiftUI view....but another SwiftUI view is also included in that Compose view. A little bit contrived in this case but there just to give example of that scenario.
🙌 1
s
That's one of the main strengths of KMP, that it's not a framework, that it's a toolset/”library" instead, allowing you to mix and match native code and shared code any which way you want or need.
👍 2