Right now Compose for iOS really means iOS only an...
# compose-ios
s
Right now Compose for iOS really means iOS only and not also macOS as there is only a
ComposeUIViewController
(UIKit), right? Or is there a solution can host in a pure SwiftUI view and will work on macOS, too? Is macOS support planned or do I have to go for a Catalyst app right now?
1
m
What kind of macOS support do you mean? Native Compose on macOS (in contrast to the JVM based desktop) is already supported for some time although it is still very experimental. See: https://github.com/JetBrains/compose-multiplatform/tree/master/examples/falling-balls/shared/src
s
d
We plan to support Native MacOS as well in the future.
For now - it launches, but does not implement a lot of things
s
Thanks. I can work with that. I guess I will go for Catalyst for now and switch to the native macOS later. The JVM app is for macOS is not suitable right now, because I work on a Photo app and people expect it to integrate with Apple Photos, which requires me to use PhotoKit.
g
Is there only this
Window
API in order to use compose components in macOS swiftUI? Isn't there something that can convert compose to swiftui views?