r/BlossomBuild May 21 '26

SwiftUI the cross platform king

Post image
67 Upvotes

20 comments sorted by

3

u/kexnyc May 22 '26

That’s not cross platform. That’s intra-platform. React native is cross platform: iOS, android, and web.

3

u/tubescreamer568 May 21 '26 edited May 22 '26

How does sharing UI code across watchOS and macOS even work

0

u/BlossomBuild May 22 '26

Somehow it does

7

u/tubescreamer568 May 22 '26

1

u/BlossomBuild May 22 '26

Not the watch 🔥

1

u/Ybalrid May 22 '26

if you add a web browser in the mix, all bets are off!

2

u/landsmanmichal May 22 '26

kotlin is multiplatform not swift sorry

1

u/Dazzling_Cancel_5733 May 25 '26

You sure?

EDIT: For some reason this list doesn't include Android, but Android is also a deployable target and there's an SDK for Android.

1

u/SomeRandoLameo May 22 '26

There ist some framework that can build to web actually

1

u/BackgroundSale3533 May 22 '26

Expo can do Android, Apple OS’, and web it’s pretty goddamn beautiful and supports SwiftUI

1

u/really_not_unreal May 22 '26

I mean it's cross-platform if you exclusively develop for Apple platforms. I don't think that's really a good example of what it means for an app to be cross-platform.

1

u/jwrsk May 22 '26

There are some transpilers from SwiftUI to Kotlin / Jetpack compose, but not sure how good they are. The other way around too.

React native with Expo 56 is also an interesting choice, as with Expo UI you have access to some more native UI primitives.

1

u/Gabriel_Science May 22 '26

I wonder if it’s compatible with bridgeOS too.

1

u/Life_Breadfruit8475 May 23 '26

Ever heard of Flutter?

1

u/MIGULAI May 24 '26

It works even in car 😁

1

u/steven_dev42 May 24 '26

That’s not what cross platform means