2 ms·
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
by mikece 7y ago
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...
- saagarjha 7y agoWhy would Apple want these apps to run in Safari? They have a platform to run these already.
- mikece 7y agoSafari 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.
- donarb 7y agoSwiftUI 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.
- saagarjha 7y agoApple doesn’t really care about you being able to run your UI code on those platforms.
- mmargerum 7y agoTrue. 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.