Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was fully expecting something along the lines of "Oh, and SwiftUI will compile to WebAssembly allowing your apps to look just as awesome and run just as fast in Safari."

Probably still in alpha...



Why would Apple want these apps to run in Safari? They have a platform to run these already.


Safari isn't the point -- running on other platforms is. Market share for iOS globally is nowhere close to Android; in India iOS is only about 10% so if your SwiftUI app could run in Chrome on Android and is installable as a PWA, you open up the rest of the handset market.


Apple doesn’t really care about you being able to run your UI code on those platforms.


True. in fact they have a vested interest in not making this happen, but someone will. This looks really impressive and i've grown to like swift quite a bit.


SwiftUI is not just for iOS, it's for MacOS, tvOS, iPadOS and WatchOS as well. That covers well over a billion devices with all kinds of apps.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: