So when are we getting compose for Reality Pro? :d...
# compose-ios
a
So when are we getting compose for Reality Pro? 🕶️ (This is a joke, I know some might take it seriously!)
😎 3
👍 1
😂 6
o
visionOS SDK is not yet available ;)
a
Hey, instead of SwiftUI in front of your eyes, it could be Compose 😯K
o
Would you use it? :) if yes then post here in thread what for
s
well, allegedly at least one of the apps available for visionOS is already written with React Native, so Compose might be not that far of a stretch 🙂
o
It should not be too hard, indeed. Most complexity goes to inputs, I think. But then, obviously, depends on who needs it :)
a
So, it could very well be a yes from an experimental stand point, we make a smart home app for multifamily, so it wouldn't be too hard to have pre-anchored views in AR for the light switch, doors, etc
Instead of whipping out your phone, it could be done within the shared context space
o
Experimental sure. As a pet project I’m adding support for Apple TV to Compose Multiplatform (no promises! it may very well be abandoned!) so visionOS wouldn’t be much harder, I think it is more or less the same UIKit for the basic stuff
a
Exciting to know!
k
@shikasd which app is allegedly written with React Native? 🙂
a
The thing with React Native is it still renders to native views, which realityOS supports UIKit for, I think the challenge will come when it comes time to compositing Skia, and potentially multiple Skia canvases with UIKit interop in a 3D space. I think there's some interesting things to think about such as would the goal to be render pure uikit in compose for fully native ui? Or would compositing in Skia into the virtual space be the correct/ideal approach. The real thing influencing this is UX, and how consistent do we want apps to feel inside realityOS with the system.
I would think technically compose is already supported with the iOS app interop promises, but with the negative side of not blending into the rest of the space in terms of UI.
Regardless, we only just got access to the SDK in Xcode afaik, and everything is in its infancy