Hacker News new | ask | show | jobs
by lapcat 1404 days ago
> I think Catalyst/SwiftUI were created as an answer to desktop applications moving to Electron.

How is it an answer? Electron gives the developer the same code for the web and for Microsoft Windows. Catalyst and SwiftUI give the developer none of theses.

1 comments

macOS has a small number of users compared to iOS. Many companies do make native iOS apps due to its large market share. If macOS can be targeted with the same API as iOS, it's more attractive for developers who are writing an iOS app to make a macOS build as well.

This has already happened for a small number of applications -- e.g. the macOS Twitter app is a port of the iOS app using the Catalyst framework.

This has nothing to do with Electron.

There's no Electron for iOS (because Apple requires WebKit and prohibits Chromium).